Browse Source

Pool - 10 minute idle; 60 min lifetime.

master
MagicBot 1 year ago
parent
commit
9edc32de13
  1. 1
      src/engine/gameManager/DbManager.java

1
src/engine/gameManager/DbManager.java

@ -308,6 +308,7 @@ public enum DbManager { @@ -308,6 +308,7 @@ public enum DbManager {
config.setPassword(ConfigManager.MB_DATABASE_PASS.getValue());
config.addDataSourceProperty("minimumIdle", "5");
config.addDataSourceProperty("idleTimeout", "600000");
config.addDataSourceProperty("maxLifetime", "3600000");
config.addDataSourceProperty("characterEncoding", "utf8");

Loading…
Cancel
Save