-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drain session pool before creating new sessions
If a bad session was retrieved from the session pool, a new session would be immediately created instead of attempting to retrieve another session from the pool. This change attempts to uses pooled sessions before creating new ones. Signed-off-by: Matthew Sykes <[email protected]> Signed-off-by: Gari Singh <[email protected]>
- Loading branch information
1 parent
d0c5065
commit d626146
Showing
2 changed files
with
49 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters