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

Вставить таймаут в limit_concurrent_connections #126

Closed
leshchenko1979 opened this issue Jan 10, 2021 · 0 comments · Fixed by #127
Closed

Вставить таймаут в limit_concurrent_connections #126

leshchenko1979 opened this issue Jan 10, 2021 · 0 comments · Fixed by #127
Assignees
Labels
good first issue Good for newcomers

Comments

@leshchenko1979
Copy link
Owner

leshchenko1979 commented Jan 10, 2021

if self.successive_results < NO_TIMEOUT_FAILURE_NUM:
    await sleep(INITIAL_TIMEOUT * 2 ** (-self.successive_results - NO_TIMEOUT_FAILURE_NUM - 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant