You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix connection leak due to race condition in counting resources
Since resources were being acquired in one async context, but being
counted in another, it was possible that under high load checks of the
total number of connections could report zero when connections were
actually created.
This commit moves the call to resourceAcquired() to the same async
context where it's being created initially or reacquired from the
existing pool.
0 commit comments