Updated DBSyncWatcher

Changed from Doing a for loop, to just returning, as we don't want to
propogate the signal if we are syncing.
This commit is contained in:
Mario Steele 2025-08-01 22:05:36 -05:00
parent b63f32dd06
commit c9c88358c3

View file

@ -36,10 +36,7 @@ public class DBSyncWatcher
{
if (e.ChangeType != WatcherChangeTypes.Changed) return;
while (Locked)
{
Thread.Sleep(100);
}
if (Locked) return;
var dbName = Path.GetFileName(e.FullPath);