@joystick.js/node-canary 0.0.0-canary.319 → 0.0.0-canary.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app/queues/index.js
CHANGED
|
@@ -86,7 +86,6 @@ class Queue {
|
|
|
86
86
|
const okayToRunJobs = await this._checkIfOkayToRunJobs();
|
|
87
87
|
if (okayToRunJobs && !process.env.HALT_QUEUES) {
|
|
88
88
|
const nextJob = await this.db.getNextJobToRun();
|
|
89
|
-
console.log(nextJob);
|
|
90
89
|
this.handleNextJob(nextJob);
|
|
91
90
|
}
|
|
92
91
|
}, 300);
|
|
@@ -110,7 +109,6 @@ class Queue {
|
|
|
110
109
|
return this._handleDeleteJob(nextJob?._id);
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
|
-
console.log(nextJob);
|
|
114
112
|
await this._logAttempt(nextJob?._id);
|
|
115
113
|
await job_definition.run(nextJob?.payload, {
|
|
116
114
|
...nextJob,
|