From 1fd5c3ebc36077e5123001bf8a03c8fa8de02886 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 6 Sep 2020 21:51:23 +0200 Subject: [PATCH] Try out higher mysql timeouts --- src/engine/server/databases/mysql.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/server/databases/mysql.cpp b/src/engine/server/databases/mysql.cpp index 27fd3d453..09924f260 100644 --- a/src/engine/server/databases/mysql.cpp +++ b/src/engine/server/databases/mysql.cpp @@ -113,9 +113,9 @@ IDbConnection::Status CMysqlConnection::Connect() connection_properties["port"] = m_Port; connection_properties["userName"] = sql::SQLString(m_aUser); connection_properties["password"] = sql::SQLString(m_aPass); - connection_properties["OPT_CONNECT_TIMEOUT"] = 10; - connection_properties["OPT_READ_TIMEOUT"] = 10; - connection_properties["OPT_WRITE_TIMEOUT"] = 20; + connection_properties["OPT_CONNECT_TIMEOUT"] = 60; + connection_properties["OPT_READ_TIMEOUT"] = 60; + connection_properties["OPT_WRITE_TIMEOUT"] = 120; connection_properties["OPT_RECONNECT"] = true; connection_properties["OPT_CHARSET_NAME"] = sql::SQLString("utf8mb4"); connection_properties["OPT_SET_CHARSET_NAME"] = sql::SQLString("utf8mb4");