diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-21 03:06:56 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-21 03:06:56 -0500 |
commit | 42ebf96d28314a5f24a6055859caebed8db06770 (patch) | |
tree | dd75b4c75dfc1773b5bb91fc1540209b40d4b20d /tools | |
parent | 12c68f4e7f5ad3fe940044c563f3638370ed40e9 (diff) |
two minor typo-like bugfixes
Diffstat (limited to 'tools')
-rw-r--r-- | tools/schedule.js | 2 |
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){ |