Skip to content

Close urllib3 pool before swapping the server into the "inactive" list #402

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 2 commits into from
Mar 26, 2021

Conversation

amotl
Copy link
Member

@amotl amotl commented Mar 24, 2021

Hi there,

while working on the test suite, I found a glitch, maybe unnoticed more often than not, where active connections have not been closed before removing them from the list of active servers.

With kind regards,
Andreas.

Copy link
Member

@seut seut left a comment

Choose a reason for hiding this comment

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

👍 good catch

@amotl amotl force-pushed the amo/improve-serverpool branch from e53335a to e29f799 Compare March 26, 2021 09:34
This will hopefully resolve some flakyness where the swapping on the
bookeeping between the list of active/inactive servers occurs too
quickly.
@amotl amotl merged commit 80295e9 into master Mar 26, 2021
@amotl amotl deleted the amo/improve-serverpool branch March 26, 2021 10:26
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.

2 participants