Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Make addProcess() parallel #10

Open
wants to merge 2 commits into
base: 17.06.x
Choose a base branch
from

Conversation

xinfengliu
Copy link

Following Crosby's patch, this commit makes launching health-check processes faster when many health-checks occur simultaneously.
It helps avoiding health-check timeouts that Paypal ran into. (FIELD-2190)
In addition, this commit adds a lock to protect accessing to 'processes' map of the container.

Signed-off-by: Xinfeng Liu [email protected]

Following Crosby's patch, this commit makes launching health-check processes faster when many health-checks occur simultaneously.
It helps avoiding health-check timeouts that Paypal ran into. (FIELD-2190)
In addition, this commit adds a lock to protect accessing to 'processes' map of the container.

Signed-off-by: Xinfeng Liu <[email protected]>
To fix "go get -u github.com/golang/lint/golint" error.
golang/lint#421

Signed-off-by: Xinfeng Liu <[email protected]>
@xinfengliu
Copy link
Author

Need wait for travis CI fix #11 to be merged first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant