diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-17 00:36:23 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-17 00:36:23 -0500 |
commit | 7e32677b7d61d84cf9b67133f9a12d37523120ba (patch) | |
tree | 3707421d8c157ab9ccabbf563da13e81fe17f4c1 /tools | |
parent | 870d834c5d20d67820d68d94e345ed7e6a66af9e (diff) |
typo in tools/schedule.js
Diffstat (limited to 'tools')
-rw-r--r-- | tools/schedule.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/schedule.js b/tools/schedule.js index 7778ed8..399b8e4 100644 --- a/tools/schedule.js +++ b/tools/schedule.js @@ -27,7 +27,6 @@ function Queue(maxExport, call, delay){ let prio = job.prio; if (!jobs[prio]) jobs[prio] = []; jobs[prio].splice(0, Math.abs(bs(jobs[prio], job, (el, ne) => el.maxr - ne.maxr)), job); - push(job); prios.splice(0, Math.abs(bs(prios, prio, (el, ne) => el-ne)), prio) if (open) dequeue(); } |