Fix to stop the misdetection of preset file change
This commit is contained in:
parent
982e105f3f
commit
46f517fc3a
|
@ -104,7 +104,7 @@ namespace Core.ProfitTrailer
|
|||
if (presetFilePath.IndexOf(".properties", StringComparison.InvariantCultureIgnoreCase) > -1)
|
||||
{
|
||||
FileInfo presetFile = new FileInfo(presetFilePath);
|
||||
if (presetFile.LastWriteTime > DateTime.UtcNow.AddMinutes(-systemConfiguration.AnalyzerSettings.MarketAnalyzer.IntervalMinutes).AddSeconds(2))
|
||||
if (presetFile.LastWriteTimeUtc > DateTime.UtcNow.AddMinutes(-systemConfiguration.AnalyzerSettings.MarketAnalyzer.IntervalMinutes).AddSeconds(2))
|
||||
{
|
||||
|
||||
// File has changed recently, force preparation check
|
||||
|
|
Loading…
Reference in New Issue