diff --git a/trunk/dist/game/config/Server.ini b/trunk/dist/game/config/Server.ini index 705a824ed4..00c95d1170 100644 --- a/trunk/dist/game/config/Server.ini +++ b/trunk/dist/game/config/Server.ini @@ -61,12 +61,6 @@ MaximumDbConnections = 500 # Default: 0 MaximumDbIdleTime = 0 -# The time before a database connection closes (in milliseconds) -# If a query takes longer to execute than the time defined here, the server will throw "Unclosed Connection!" error. -# If you get often this error message, try increasing this. -# Default: 60000ms -ConnectionCloseTime = 60000 - # --------------------------------------------------------------------------- # Misc Server Settings diff --git a/trunk/dist/login/config/LoginServer.ini b/trunk/dist/login/config/LoginServer.ini index 444c5476cb..99d0c160e8 100644 --- a/trunk/dist/login/config/LoginServer.ini +++ b/trunk/dist/login/config/LoginServer.ini @@ -61,12 +61,6 @@ MaximumDbConnections = 50 # Default: 0 MaximumDbIdleTime = 0 -# The time before a database connection closes (in milliseconds) -# If a query takes longer to execute than the time defined here, the server will throw "Unclosed Connection!" error. -# If you get often this error message, try increasing this. -# Default: 60000ms -ConnectionCloseTime = 60000 - # --------------------------------------------------------------------------- # Security diff --git a/trunk/java/com/l2jmobius/Config.java b/trunk/java/com/l2jmobius/Config.java index b9ec688f2e..3ef2597549 100644 --- a/trunk/java/com/l2jmobius/Config.java +++ b/trunk/java/com/l2jmobius/Config.java @@ -973,7 +973,6 @@ public final class Config public static String DATABASE_PASSWORD; public static int DATABASE_MAX_CONNECTIONS; public static int DATABASE_MAX_IDLE_TIME; - public static long CONNECTION_CLOSE_TIME; public static int MAXIMUM_ONLINE_USERS; public static Pattern CHARNAME_TEMPLATE_PATTERN; public static String PET_NAME_TEMPLATE; @@ -1186,7 +1185,6 @@ public final class Config DATABASE_PASSWORD = serverSettings.getString("Password", ""); DATABASE_MAX_CONNECTIONS = serverSettings.getInt("MaximumDbConnections", 500); DATABASE_MAX_IDLE_TIME = serverSettings.getInt("MaximumDbIdleTime", 0); - CONNECTION_CLOSE_TIME = serverSettings.getLong("ConnectionCloseTime", 60000); Pattern charNamePattern; @@ -2933,7 +2931,6 @@ public final class Config DATABASE_PASSWORD = ServerSettings.getString("Password", ""); DATABASE_MAX_CONNECTIONS = ServerSettings.getInt("MaximumDbConnections", 10); DATABASE_MAX_IDLE_TIME = ServerSettings.getInt("MaximumDbIdleTime", 0); - CONNECTION_CLOSE_TIME = ServerSettings.getLong("ConnectionCloseTime", 60000); SHOW_LICENCE = ServerSettings.getBoolean("ShowLicence", true);