mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
Delay restarting of sub watcher to let Bisq recreate the directories.
This commit is contained in:
parent
6a2d6d6291
commit
e5c4642af4
@ -71,8 +71,11 @@ class Bisq {
|
||||
clearTimeout(fsWait);
|
||||
}
|
||||
fsWait = setTimeout(() => {
|
||||
console.log(`Change detected in the top level Bisq data folder. Resetting inner watcher.`);
|
||||
this.restartSubDirectoryWatcher();
|
||||
console.log(`Bisq restart detected. Resetting inner watcher in 3 minutes.`);
|
||||
setTimeout(() => {
|
||||
this.restartSubDirectoryWatcher();
|
||||
this.loadBisqDumpFile();
|
||||
}, 180000);
|
||||
}, 15000);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user