From 294141c353d987fa6f52686a84b83519c4445eec Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Mon, 11 Aug 2014 12:16:27 -0400 Subject: [PATCH] We should be reconnecting automagically. --- .../java/com/gmail/nossr50/database/SQLDatabaseManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java b/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java index 73a35504c..488798c50 100644 --- a/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java +++ b/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java @@ -60,7 +60,7 @@ public final class SQLDatabaseManager implements DatabaseManager { Properties connectionProperties = new Properties(); connectionProperties.put("user", Config.getInstance().getMySQLUserName()); connectionProperties.put("password", Config.getInstance().getMySQLUserPassword()); - connectionProperties.put("autoReconnect", "false"); + connectionProperties.put("autoReconnect", "true"); connectionProperties.put("cachePrepStmts", "true"); connectionProperties.put("prepStmtCacheSize", "64"); connectionProperties.put("prepStmtCacheSqlLimit", "2048");