-
Notifications
You must be signed in to change notification settings - Fork 963
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework StaticConnectionPool pinging logic
The StaticConnectionPool now only pings nodes when they are first used (instead of on startup), and has better logic to handle the pinging/failure process. Also implements helper functions in AbstractConnectionPool for things like ping timeout and ping failures, which are used to exponentially backoff ping timeouts. Fixes #20
- Loading branch information
1 parent
a0670b9
commit b4e71ce
Showing
3 changed files
with
135 additions
and
17 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
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