Fixed pool size auto-calculated.

This commit is contained in:
2023-05-24 08:36:34 -04:00
parent ee137c0146
commit cb0a89cb03
+2
View File
@@ -307,6 +307,8 @@ public enum DbManager {
config.setUsername(ConfigManager.MB_DATABASE_USER.getValue());
config.setPassword(ConfigManager.MB_DATABASE_PASS.getValue());
// Must be set lower than SQL server connection lifetime!
config.addDataSourceProperty("maxLifetime", "3600000");
config.addDataSourceProperty("characterEncoding", "utf8");