mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Remove redundant maxReconnects database connection property
This commit is contained in:
parent
daab095557
commit
d06cfe6516
@ -618,7 +618,6 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
|||||||
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", "false");
|
||||||
connectionProperties.put("maxReconnects", "0");
|
|
||||||
connection = DriverManager.getConnection(connectionString, connectionProperties);
|
connection = DriverManager.getConnection(connectionString, connectionProperties);
|
||||||
|
|
||||||
mcMMO.p.getLogger().info("Connection to MySQL was a success!");
|
mcMMO.p.getLogger().info("Connection to MySQL was a success!");
|
||||||
|
Loading…
Reference in New Issue
Block a user