Skip to content

Commit

Permalink
fix: Починил включение вотчера при стандартных настройках
Browse files Browse the repository at this point in the history
  • Loading branch information
Kibnet committed Oct 31, 2023
1 parent 8d9b540 commit 01221d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Unlimotion/TaskStorages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<IDatabaseWatcher>(fileDbWather);
}
Expand All @@ -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;
}
}
Expand Down

0 comments on commit 01221d8

Please sign in to comment.