aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}