aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-17 00:36:23 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-17 00:36:23 -0500
commit7e32677b7d61d84cf9b67133f9a12d37523120ba (patch)
tree3707421d8c157ab9ccabbf563da13e81fe17f4c1
parent870d834c5d20d67820d68d94e345ed7e6a66af9e (diff)
typo in tools/schedule.js
-rw-r--r--tools/schedule.js1
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();
}