#include </data/code/userver/mysql/include/userver/storages/mysql/options.hpp>
A structure to control timeouts for MySQL queries
There is a single parameter, execute
, which limits the overall time the driver spends executing a query, which includes:
In case of a timeout the client gets an exception and the driver drops the connection (no further reuse will take place), otherwise the connection is returned to the pool.
Definition at line 29 of file options.hpp.
Public Attributes | |
TimeoutDuration | execute {} |
Overall timeout for a statement being executed. | |
TimeoutDuration storages::mysql::CommandControl::execute {} |
Overall timeout for a statement being executed.
Definition at line 31 of file options.hpp.