Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
pool_params::close_timeout

The timeout to use when closing connections because of idle_timeout.

Synopsis
std::chrono::steady_clock::duration close_timeout {std::chrono::seconds(10)};
Description

If closing a connection (as per any_connection::async_close) takes longer than this timeout, the close is cancelled. The connection is removed from the pool anyway.

Set this timeout to zero to disable it.

This value must not be negative.


PrevUpHomeNext