boost::redis::config::reconnect_wait_interval
Time span to wait between successive connection retries. Set to zero to disable reconnection.
Synopsis
Declared in <boost/redis/config.hpp>
std::chrono::steady_clock::duration reconnect_wait_interval = std::chrono::seconds{1};
Description
When using Sentinel, this setting applies to masters, replicas and Sentinels. If none of the configured Sentinels can be contacted, this time span will be waited before trying again. After a connection error with a master or replica is encountered, this time span will be waited before contacting Sentinels again.
Created with MrDocs