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

Prevent connection pool starvation. #2048

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

ioquatix
Copy link
Contributor

@ioquatix ioquatix commented Jun 8, 2023

See socketry/async#99 for context/background.

This should be a temporary fix, we need to (1) establish whether there is a bug in CRuby or (2) establish whether there is faulty usage of condition variable in the connection pool. I don't know which yet.

The code related to this investigation is https://github.com/ioquatix/ruby-condition-variable-timeout.

@jeremyevans
Copy link
Owner

Thanks for the patch! Running tests with it now. Assuming no fallout, I'll merge this.

@jeremyevans jeremyevans merged commit efc8b54 into jeremyevans:master Jun 8, 2023
@ioquatix ioquatix deleted the patch-1 branch June 9, 2023 02:22
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