mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
We should be reconnecting automagically.
This commit is contained in:
parent
5a47f9fa86
commit
294141c353
@ -60,7 +60,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
|||||||
Properties connectionProperties = new Properties();
|
Properties connectionProperties = new Properties();
|
||||||
connectionProperties.put("user", Config.getInstance().getMySQLUserName());
|
connectionProperties.put("user", Config.getInstance().getMySQLUserName());
|
||||||
connectionProperties.put("password", Config.getInstance().getMySQLUserPassword());
|
connectionProperties.put("password", Config.getInstance().getMySQLUserPassword());
|
||||||
connectionProperties.put("autoReconnect", "false");
|
connectionProperties.put("autoReconnect", "true");
|
||||||
connectionProperties.put("cachePrepStmts", "true");
|
connectionProperties.put("cachePrepStmts", "true");
|
||||||
connectionProperties.put("prepStmtCacheSize", "64");
|
connectionProperties.put("prepStmtCacheSize", "64");
|
||||||
connectionProperties.put("prepStmtCacheSqlLimit", "2048");
|
connectionProperties.put("prepStmtCacheSqlLimit", "2048");
|
||||||
|
Loading…
Reference in New Issue
Block a user