From 846b99adcc26814bf412b6b28ae4dcf461104f74 Mon Sep 17 00:00:00 2001 From: aelassas Date: Wed, 5 Jul 2023 20:00:47 +0100 Subject: [PATCH] Update PollingFileSystemWatcher.cs --- .../PollingFileSystemWatcher/PollingFileSystemWatcher.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/netcore/Wexflow.Core/PollingFileSystemWatcher/PollingFileSystemWatcher.cs b/src/netcore/Wexflow.Core/PollingFileSystemWatcher/PollingFileSystemWatcher.cs index abde1004..008ff376 100644 --- a/src/netcore/Wexflow.Core/PollingFileSystemWatcher/PollingFileSystemWatcher.cs +++ b/src/netcore/Wexflow.Core/PollingFileSystemWatcher/PollingFileSystemWatcher.cs @@ -30,7 +30,7 @@ public class PollingFileSystemWatcher : IDisposable, ISerializable { private Timer _timer; private readonly PathToFileStateHashtable _state; // stores state of the directory - private long _version; // this is used to keep track of removals. // TODO: describe the algorithm + private long _version; // this is used to keep track of removals. private bool _started; private bool _disposed; private long _pollingInterval = 1000; @@ -71,7 +71,7 @@ private void Initialize() _ = _timer.Change(PollingInterval, Timeout.Infinite); } - public EnumerationOptions EnumerationOptions { get; set; } = new EnumerationOptions(); + public EnumerationOptions EnumerationOptions { get; set; } public string Filter { get; set; } public string Path { get; set; }