From 01221d81315317dcb03288f9b64b881dc1ce3519 Mon Sep 17 00:00:00 2001 From: Kibnet Philosoff Date: Wed, 1 Nov 2023 00:29:29 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=9F=D0=BE=D1=87=D0=B8=D0=BD=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=B2=D0=BE=D1=82=D1=87=D0=B5=D1=80=D0=B0=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D1=81=D1=82=D0=B0=D0=BD=D0=B4=D0=B0=D1=80=D1=82=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA?= =?UTF-8?q?=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Unlimotion/TaskStorages.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unlimotion/TaskStorages.cs b/src/Unlimotion/TaskStorages.cs index 4b42704..ccfb644 100644 --- a/src/Unlimotion/TaskStorages.cs +++ b/src/Unlimotion/TaskStorages.cs @@ -100,7 +100,6 @@ public static void RegisterStorage(bool isServerMode, IConfiguration configurati else { taskStorage = CreateFileTaskStorage(settings?.Path); - _dbWatcher = new FileDbWatcher(settings?.Path); //_dbWatcher.Start(); //Locator.CurrentMutable.RegisterConstant(fileDbWather); } @@ -116,6 +115,7 @@ private static FileTaskStorage CreateFileTaskStorage(string? path) if (string.IsNullOrEmpty(path)) storagePath = DefaultStoragePath; var taskStorage = new FileTaskStorage(storagePath); + _dbWatcher = new FileDbWatcher(storagePath); return taskStorage; } }