Boost.Redis

    • Introduction
    • Requests and responses
    • Cancellation and timeouts
    • Serializing and parsing into custom types
    • Logging
    • Sentinel
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • boost::redis::sentinel_config::connect_timeout
arrow_upward

boost::redis::sentinel_config::connect_timeout

Time span that the Sentinel connect operation is allowed to elapse. Does not affect connections to masters and replicas, controlled by config::connect_timeout.

Synopsis

Declared in <boost/redis/config.hpp>

std::chrono::steady_clock::duration connect_timeout = std::chrono::milliseconds{500};

Created with MrDocs