aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/schedule.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/schedule.js b/tools/schedule.js
index fabcce7..4fa95b3 100644
--- a/tools/schedule.js
+++ b/tools/schedule.js
@@ -91,7 +91,7 @@ exports.Queue = function(delayms, maxExport, call){
// Step 5: Iterate through array (high->low), and subtract 1 until the length of output is num.
if (dequeued.length == num) break;
job.wacc--;
- dequeue.push(job.pop());
+ dequeued.push(job.data.pop());
}
// Step 6: If empty, remove prio && jobs[prio]; return.