aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-02 14:26:23 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-02 14:26:23 +0200
commitb60ab925b3d2d24a86f6db51f9880364165767e1 (patch)
tree626ae26a091f2c4b8431365aeb494bc4e5e62f23 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
parent73d6f770fdfbe1ae4e98fe5ac2f8e652bc5e5853 (diff)
parent65c94d06672ed5a79bb3cca7f06cc42dcf47d90a (diff)
downloadTango-b60ab925b3d2d24a86f6db51f9880364165767e1.tar.gz
Tango-b60ab925b3d2d24a86f6db51f9880364165767e1.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
index ded4d1dae..73a236dde 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
@@ -106,11 +106,11 @@ namespace Tango.PPC.Common.MachineUpdate
_logs = new List<LogItemBase>();
LogManager.NewLog += LogManager_NewLog;
- _checkForUpdateTimer = new System.Timers.Timer(TimeSpan.FromMinutes(1).TotalMilliseconds);
+ _settings = SettingsManager.Default.GetOrCreate<PPCSettings>();
+
+ _checkForUpdateTimer = new System.Timers.Timer(_settings.AutoUpdateCheckInterval.TotalMilliseconds);
_checkForUpdateTimer.Elapsed += _checkForUpdateTimer_Elapsed;
_checkForUpdateTimer.Start();
-
- _settings = SettingsManager.Default.GetOrCreate<PPCSettings>();
}
#endregion