Skip to content
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

Worker: better handling of backoff when at capacity #791

Merged
merged 8 commits into from
Sep 27, 2024

Conversation

josephjclark
Copy link
Collaborator

@josephjclark josephjclark commented Sep 26, 2024

When the worker is at capacity, it will now terminate the workloop and stop trying to claim.

Once the server is back to capacity, it'll resume the workloop, resetting the backoff to the initial value.

Logging has also been improved.

I've tested this manually - I'm trying to think of a decent automated test. It is a little hard to quanty the backoffs..

#786

@josephjclark
Copy link
Collaborator Author

@taylordowns2000 worker 1.6.7 is ready to go with a better backoff strategy.

Give it a run on staging for me when you're ready please!

@josephjclark
Copy link
Collaborator Author

@taylordowns2000 can I merge this? I take it staging didn't blow up [as a result of this change]?

@taylordowns2000 taylordowns2000 merged commit 9e845b0 into main Sep 27, 2024
7 checks passed
@josephjclark josephjclark deleted the fix-backoff branch October 18, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants