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

Fix connection pool error. #437

Merged
merged 2 commits into from
Jun 19, 2019

Conversation

mikkokar
Copy link
Contributor

@mikkokar mikkokar commented Jun 18, 2019

Publisher<Connection> was not emitted in some corner cases, leading to unnecessary timeouts from borrowConnection.

Also, connectionsInEstablishment was not decremented in some corner cases, resulting in a slow drift up that could end up preventing new connections from being established.

@mikkokar mikkokar requested a review from dvlato June 18, 2019 14:47
@dvlato
Copy link
Contributor

dvlato commented Jun 18, 2019

An additional small change: do you think we should rename "activeConnections" to "availableConnections"?

@mikkokar mikkokar merged commit 24e8564 into ExpediaGroup:master Jun 19, 2019
@mikkokar mikkokar deleted the connection-pool-fix branch June 19, 2019 07:16
dvlato pushed a commit that referenced this pull request Jul 3, 2019
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