mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Give more time for the meta file to appear on dirWatch
This commit is contained in:
parent
bbe40de6ce
commit
aa7d17443e
|
|
@ -92,7 +92,7 @@ class DirWatch {
|
||||||
if (!metaWatcher.closed) {
|
if (!metaWatcher.closed) {
|
||||||
metaWatcher.close();
|
metaWatcher.close();
|
||||||
}
|
}
|
||||||
}, 60 * 1000);
|
}, 60 * 60 * 1000);
|
||||||
|
|
||||||
metaWatcher.on('add', async () => {
|
metaWatcher.on('add', async () => {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
|
|
@ -131,7 +131,7 @@ class DirWatch {
|
||||||
if (!metaWatcher.closed) {
|
if (!metaWatcher.closed) {
|
||||||
metaWatcher.close();
|
metaWatcher.close();
|
||||||
}
|
}
|
||||||
}, 60 * 1000);
|
}, 60 * 60 * 1000);
|
||||||
|
|
||||||
metaWatcher.on('add', async () => {
|
metaWatcher.on('add', async () => {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue