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

Retry farmer lookup on worker start up #42

Open
croaky opened this issue Sep 16, 2019 · 0 comments
Open

Retry farmer lookup on worker start up #42

croaky opened this issue Sep 16, 2019 · 0 comments

Comments

@croaky
Copy link
Contributor

croaky commented Sep 16, 2019

When a testbot worker process starts up, it pings the farmer.
If the farmer returns a 404, the worker crashes and does not restart.

Perhaps this could instead involve a few retries? Maybe with a little bit of backoff?
The farmer shouldn't be offline for very long, or take long to start up.
Maybe 1 minute is enough time look for the farmer and otherwise assume it can't be found?

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

No branches or pull requests

1 participant