Pool - 10 minute idle; 60 min lifetime.
This commit is contained in:
1 parent
c46615f1d2
commit
9edc32de13
1 file changed
+1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user