diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-21 14:28:19 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-21 14:28:19 -0500 |
commit | 3cc05d0d14a49821903cea8f0443f8a8eed74fdc (patch) | |
tree | 89cd8709ff119e8284503247d32333ba7612bc84 /tools | |
parent | b04db8e3e4e215347db16d59179955ed195d021f (diff) | |
parent | 42ebf96d28314a5f24a6055859caebed8db06770 (diff) |
merged master to socket
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){ |