-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Labels
cpp-rust-driver-p2Functionality required by cpp-rust-driverFunctionality required by cpp-rust-driver
Milestone
Description
Currently when a connection breaks we attempt to reconnect with a fixed 8 second cooldown.
Reconnection strategy should be configurable by the user.
DataStax Java Driver has a configurable reconnection policy, we should implement something similar in this driver.
ReconnectPolicy could be a trait and a Box<dyn ReconnectPolicy> could be included in SessionConfig and ConnectionConfig. Then ConnectionKeeperWorker would use it to decide when to schedule reconnect attempts.
Metadata
Metadata
Assignees
Labels
cpp-rust-driver-p2Functionality required by cpp-rust-driverFunctionality required by cpp-rust-driver