From 37c5aa100678779e8ba7dd0bb2c8536766d5bfcd Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 18 Jan 2020 21:21:47 -0500 Subject: schedule had a glaring error --- tools/schedule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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. -- cgit