@joystick.js/node-canary 0.0.0-canary.314 → 0.0.0-canary.316

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.
@@ -86,6 +86,7 @@ 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);
89
90
  this.handleNextJob(nextJob);
90
91
  }
91
92
  }, 300);
@@ -109,6 +110,7 @@ class Queue {
109
110
  return this._handleDeleteJob(nextJob?._id);
110
111
  }
111
112
  }
113
+ console.log(nextJob);
112
114
  await this._logAttempt(nextJob?._id);
113
115
  await job_definition.run(nextJob?.payload, {
114
116
  ...nextJob,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.314",
3
+ "version": "0.0.0-canary.316",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",