mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 06:47:52 +01:00
Delay restarting of sub watcher to let Bisq recreate the directories.
This commit is contained in:
parent
6a2d6d6291
commit
e5c4642af4
1 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue