|
@@ -109,7 +109,7 @@ namespace parkMonitor.server.CoreThread
|
|
|
public void BeginWorking()
|
|
|
{
|
|
|
Timer checkRemoteTimer = new System.Threading.Timer(CheckRemotePool, null, 3600000, 3600000);
|
|
|
- Timer killTimeoutConnection = new System.Threading.Timer(KillTimeoutConnection, null, 3600000, 3600000);
|
|
|
+ //Timer killTimeoutConnection = new System.Threading.Timer(KillTimeoutConnection, null, 3600000, 3600000);
|
|
|
//Timer checkLocalTimer = new System.Threading.Timer(CheckLocalPool, null, 10000, 300000);
|
|
|
//Timer logTimer = new System.Threading.Timer(displayLog, null, 1000, 30000);
|
|
|
while (!isClosing)
|
|
@@ -317,6 +317,7 @@ namespace parkMonitor.server.CoreThread
|
|
|
private void KillTimeoutConnection(object o)
|
|
|
{
|
|
|
DBOperation.KillTimeOutConnection(null, 3600, EntityForCore.remoteBQ);
|
|
|
+ ConnectionPoolManager.CheckConnPooling(3, 10, ConnectionPoolManager.remoteConf, EntityForCore.remoteBQ);
|
|
|
}
|
|
|
}
|
|
|
}
|