-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure heartbeat_worker doesnt try to re-establish connection to workers when quit has been called #1972
Ensure heartbeat_worker doesnt try to re-establish connection to workers when quit has been called #1972
Conversation
…ers when quit has been called
This didnt actually help as much as I had thought. Must be something else I'm hitting... |
@cyberw I've started seeing this on our tests recently (last 1-2 weeks) and hadn't been before either. |
Here is the output from a test run this morning:
|
Perhaps it was introduced in #1935 ? I'm tempted to revert it... |
I've tried to do some tests to get more info but it's not reliably happening in my setup unfortunately. It seems to happen more at higher loads so it could be somehow related to that (e.g. busy workers + primary). The change in quit() seems to be quite likely I agree.
This 0.5 sleep is somewhat random I guess. It's possible that a heavily loaded worker will take > 0.5 seconds and that's when this then causes an issue? |
fixes #1971