Commit db989b9e authored by Guillaume Lebigot's avatar Guillaume Lebigot

Bumped taskCounter to 100 songs downloaded before a refresh occurs during a batch download

parent 45638c25
......@@ -64,7 +64,7 @@ function initQueue(drainEvent = true) {
q.on('task_finish', () => {
if (q.length > 0) logger.info(`[Download] ${q.length - 1} items left in queue`);
taskCounter++;
if (taskCounter >= 5) {
if (taskCounter >= 100) {
logger.debug('[Download] Triggering database refresh');
compareKarasChecksum(true);
refreshAll();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment