...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The health-check interval.
std::chrono::steady_clock::duration ping_interval {std::chrono::hours(1)};
If a connection becomes idle and hasn't been handed to the user for ping_interval
, a health-check will be
performed (using any_connection::async_ping
). Pings will be sent
with a periodicity of ping_interval
until the connection is handed to the user, or a ping fails.
Set this interval to zero to disable pings.
This value must not be negative.