update periodo force check (5-->60 sec)
This commit is contained in:
+10
-8
@@ -60,9 +60,9 @@ namespace IOB_MAN
|
||||
protected bool checkRunning = false;
|
||||
|
||||
/// <summary>
|
||||
/// Counter del timer di forceCheck
|
||||
/// Counter del timer di forceCheck (60 sec, era 5 sec)
|
||||
/// </summary>
|
||||
protected int forceCheckPeriod = 5000;
|
||||
protected int forceCheckPeriod = 60000;
|
||||
|
||||
/// <summary>
|
||||
/// Totale processi avviati
|
||||
@@ -514,12 +514,14 @@ namespace IOB_MAN
|
||||
}
|
||||
}
|
||||
}
|
||||
// attendo 2*waitForExitMsec che i processi possano chiudersi gracefully...
|
||||
Thread.Sleep(waitForExitMsec * 2);
|
||||
forceKillByName(TargetName);
|
||||
// ripeto seconda volta x sicurezza
|
||||
Thread.Sleep(waitForExitMsec * 4);
|
||||
forceKillByName(TargetName);
|
||||
if (item2rem.Count > 0)
|
||||
{ // attendo 2*waitForExitMsec che i processi possano chiudersi gracefully...
|
||||
Thread.Sleep(waitForExitMsec * 2);
|
||||
forceKillByName(TargetName);
|
||||
// ripeto seconda volta x sicurezza
|
||||
Thread.Sleep(waitForExitMsec * 4);
|
||||
forceKillByName(TargetName);
|
||||
}
|
||||
// verifico se resettare
|
||||
if (doReset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user