aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-02-02 14:02:29 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-02-02 14:02:29 +0200
commitc266100a10772e4c0f9df8e90cad60f3cef049bc (patch)
tree3cdf670cd14a248639c4c5903d85111afa32bd1e /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
parentcf81fa5d4c4927858f312cfa520f2acd58a2e2e3 (diff)
parentad179a57384aeb2e2f1e8913a393ed6b470a5328 (diff)
downloadTango-c266100a10772e4c0f9df8e90cad60f3cef049bc.tar.gz
Tango-c266100a10772e4c0f9df8e90cad60f3cef049bc.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