Closed waahm7 closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.62%. Comparing base (
4e74ab1
) to head (b7c62ca
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description of changes: The previous implementation was too aggressive regarding max_pending_connection_acquisitions. If the max_connections were 50 and max_pending_connection_acquisitions was 10, the 11th acquire request failed even though it was within the max connection limit. This PR changes the implementation to prioritize max_connections first and only fail the 61st request. This change is similar to Netty Behavior By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.