MXS-2329 Use durations with connection_timeout
This commit is contained in:
@ -219,7 +219,7 @@ Service::Service(const std::string& name,
|
||||
localhost_match_wildcard_host = params->get_bool(CN_LOCALHOST_MATCH_WILDCARD_HOST);
|
||||
retry_start = params->get_bool(CN_RETRY_ON_FAILURE);
|
||||
enable_root = params->get_bool(CN_ENABLE_ROOT_USER);
|
||||
conn_idle_timeout = params->get_integer(CN_CONNECTION_TIMEOUT);
|
||||
conn_idle_timeout = params->get_duration<std::chrono::seconds>(CN_CONNECTION_TIMEOUT).count();
|
||||
max_connections = params->get_integer(CN_MAX_CONNECTIONS);
|
||||
log_auth_warnings = params->get_bool(CN_LOG_AUTH_WARNINGS);
|
||||
strip_db_esc = params->get_bool(CN_STRIP_DB_ESC);
|
||||
|
||||
Reference in New Issue
Block a user