From 72bb6cfda4bfaeea0acb0cfb1cabb6e2fc014fd2 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Mon, 14 Jan 2019 12:12:09 +0900 Subject: [PATCH] increase startup retry --- Core/Main/PTMagic.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Main/PTMagic.cs b/Core/Main/PTMagic.cs index d0a8455..bfd0e62 100644 --- a/Core/Main/PTMagic.cs +++ b/Core/Main/PTMagic.cs @@ -538,12 +538,12 @@ namespace Core.Main _configCheckResult = this.RunConfigurationChecks(); if (!_configCheckResult) { - this.Log.DoLogInfo("Starting configuration check retry in 5 seconds..."); - System.Timers.Timer configCheckTimer = new System.Timers.Timer(5000); + this.Log.DoLogInfo("Starting configuration check retry in 10 seconds..."); + System.Timers.Timer configCheckTimer = new System.Timers.Timer(10000); configCheckTimer.Enabled = true; configCheckTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.ConfigCheckTimer_Elapsed); - while (!_configCheckResult && _configCheckRetryCount < 10) + while (!_configCheckResult && _configCheckRetryCount < 20) { Thread.Sleep(100); }