From 42ebf96d28314a5f24a6055859caebed8db06770 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Tue, 21 Jan 2020 03:06:56 -0500
Subject: two minor typo-like bugfixes
---
tools/schedule.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'tools')
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){
--
cgit