mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Try out higher mysql timeouts
This commit is contained in:
parent
ef9260601e
commit
1fd5c3ebc3
|
@ -113,9 +113,9 @@ IDbConnection::Status CMysqlConnection::Connect()
|
||||||
connection_properties["port"] = m_Port;
|
connection_properties["port"] = m_Port;
|
||||||
connection_properties["userName"] = sql::SQLString(m_aUser);
|
connection_properties["userName"] = sql::SQLString(m_aUser);
|
||||||
connection_properties["password"] = sql::SQLString(m_aPass);
|
connection_properties["password"] = sql::SQLString(m_aPass);
|
||||||
connection_properties["OPT_CONNECT_TIMEOUT"] = 10;
|
connection_properties["OPT_CONNECT_TIMEOUT"] = 60;
|
||||||
connection_properties["OPT_READ_TIMEOUT"] = 10;
|
connection_properties["OPT_READ_TIMEOUT"] = 60;
|
||||||
connection_properties["OPT_WRITE_TIMEOUT"] = 20;
|
connection_properties["OPT_WRITE_TIMEOUT"] = 120;
|
||||||
connection_properties["OPT_RECONNECT"] = true;
|
connection_properties["OPT_RECONNECT"] = true;
|
||||||
connection_properties["OPT_CHARSET_NAME"] = sql::SQLString("utf8mb4");
|
connection_properties["OPT_CHARSET_NAME"] = sql::SQLString("utf8mb4");
|
||||||
connection_properties["OPT_SET_CHARSET_NAME"] = sql::SQLString("utf8mb4");
|
connection_properties["OPT_SET_CHARSET_NAME"] = sql::SQLString("utf8mb4");
|
||||||
|
|
Loading…
Reference in a new issue