increase startup retry
This commit is contained in:
parent
64375ea7d8
commit
72bb6cfda4
|
@ -538,12 +538,12 @@ namespace Core.Main
|
||||||
_configCheckResult = this.RunConfigurationChecks();
|
_configCheckResult = this.RunConfigurationChecks();
|
||||||
if (!_configCheckResult)
|
if (!_configCheckResult)
|
||||||
{
|
{
|
||||||
this.Log.DoLogInfo("Starting configuration check retry in 5 seconds...");
|
this.Log.DoLogInfo("Starting configuration check retry in 10 seconds...");
|
||||||
System.Timers.Timer configCheckTimer = new System.Timers.Timer(5000);
|
System.Timers.Timer configCheckTimer = new System.Timers.Timer(10000);
|
||||||
configCheckTimer.Enabled = true;
|
configCheckTimer.Enabled = true;
|
||||||
configCheckTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.ConfigCheckTimer_Elapsed);
|
configCheckTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.ConfigCheckTimer_Elapsed);
|
||||||
|
|
||||||
while (!_configCheckResult && _configCheckRetryCount < 10)
|
while (!_configCheckResult && _configCheckRetryCount < 20)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue