diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-02-02 14:02:29 +0200 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-02-02 14:02:29 +0200 |
| commit | c266100a10772e4c0f9df8e90cad60f3cef049bc (patch) | |
| tree | 3cdf670cd14a248639c4c5903d85111afa32bd1e /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | |
| parent | cf81fa5d4c4927858f312cfa520f2acd58a2e2e3 (diff) | |
| parent | ad179a57384aeb2e2f1e8913a393ed6b470a5328 (diff) | |
| download | Tango-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.cs | 6 |
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 |
