diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-18 21:21:47 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-18 21:21:47 -0500 |
commit | 37c5aa100678779e8ba7dd0bb2c8536766d5bfcd (patch) | |
tree | b309e83882c2c04cc1ddb4e296087f92fa60b6e9 | |
parent | 39319fe275f5a6d2d526ffc44f43bcaf4ff4cd76 (diff) |
schedule had a glaring error
-rw-r--r-- | tools/schedule.js | 2 |
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. |