From aa7d17443e53a1d03ca5ac260f789fe59727369f Mon Sep 17 00:00:00 2001 From: Chrystian Huot Date: Wed, 20 May 2020 15:21:24 -0400 Subject: [PATCH] Give more time for the meta file to appear on dirWatch --- server/lib/rdio-scanner/dir-watch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/rdio-scanner/dir-watch.js b/server/lib/rdio-scanner/dir-watch.js index c7ee82f..e4590b4 100644 --- a/server/lib/rdio-scanner/dir-watch.js +++ b/server/lib/rdio-scanner/dir-watch.js @@ -92,7 +92,7 @@ class DirWatch { if (!metaWatcher.closed) { metaWatcher.close(); } - }, 60 * 1000); + }, 60 * 60 * 1000); metaWatcher.on('add', async () => { clearTimeout(timeout); @@ -131,7 +131,7 @@ class DirWatch { if (!metaWatcher.closed) { metaWatcher.close(); } - }, 60 * 1000); + }, 60 * 60 * 1000); metaWatcher.on('add', async () => { clearTimeout(timeout);