pg-boss 10.0.4 → 10.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "10.0.4",
3
+ "version": "10.0.5",
4
4
  "description": "Queueing jobs in Postgres from Node.js like a boss",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/timekeeper.js CHANGED
@@ -144,7 +144,7 @@ class Timekeeper extends EventEmitter {
144
144
  const scheduled = schedules
145
145
  .filter(i => this.shouldSendIt(i.cron, i.timezone))
146
146
  .map(({ name, data, options }) =>
147
- ({ name: QUEUES.SEND_IT, data: { name, data, options }, options: { singletonKey: name, singletonSeconds: 60 } }))
147
+ ({ name: QUEUES.SEND_IT, data: { name, data, options }, singletonKey: name, singletonSeconds: 60 }))
148
148
 
149
149
  if (scheduled.length > 0 && !this.stopped) {
150
150
  await this.manager.insert(scheduled)