aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/schedule.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/schedule.js b/tools/schedule.js
index c9c39eb..526ebe4 100644
--- a/tools/schedule.js
+++ b/tools/schedule.js
@@ -76,7 +76,7 @@ exports.Queue = function(delayms, maxExport, call){
}
this.size -= data.length;
call(data);
- if (delayms) setTimeout(this.dequeue, delayms);
+ if (delayms) setTimeout(()=>this.dequeue(), delayms);
}
function getNumOrAll(prio, num){