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

Throw in poll factory to trigger backoff behavior. #220

Merged
merged 1 commit into from Jan 5, 2022

Conversation

ian-r-rose
Copy link
Collaborator

Fixes #213 .

The polling functionality selects a sleep in a random interval, so it doesn't look like a clean exponential backoff, but it should bring down the noise

Copy link

@athornton athornton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This certainly looks like it will do what I need with respect to actually backing off when there's nothing listening on the other end (specifically the thrown Error).

@ian-r-rose ian-r-rose merged commit c63711d into dask:main Jan 5, 2022
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

Successfully merging this pull request may close these issues.

Dashboard URL backoff doesn't work right when it gets ConnectionRefusedError
2 participants