boost::redis::request::config::cancel_on_connection_lost

(Deprecated) If true, calls to basic_connection::async_exec will complete with error if the connection is lost while the request hasn't been sent yet.

Synopsis

Declared in <boost/redis/request.hpp>

bool cancel_on_connection_lost = false;

Deprecated

This setting is deprecated and should be always left out as the default (waiting for a connection to be established again). If you need to limit how much time a basic_connection::async_exec operation is allowed to take, use asio::cancel_after, instead.

Created with MrDocs