Skip to content

Enable retry on connection error #326

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

Merged
merged 1 commit into from
Mar 18, 2021
Merged

Enable retry on connection error #326

merged 1 commit into from
Mar 18, 2021

Conversation

rayluo
Copy link
Collaborator

@rayluo rayluo commented Mar 16, 2021

The previous behavior is the default behavior in requests, which does not retry at all. Here we enable one retry. Too many retries could cause the application to hang for longer.

@jiasli What do you think?

@rayluo rayluo force-pushed the retry-connection-error branch from d4f584c to 090270d Compare March 17, 2021 17:54
@rayluo rayluo merged commit 9d29158 into dev Mar 18, 2021
@rayluo rayluo deleted the retry-connection-error branch March 18, 2021 04:34
@rayluo rayluo mentioned this pull request Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants