pg-boss 8.3.0 → 8.3.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "description": "Queueing jobs in Node.js using PostgreSQL like a boss",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/index.js CHANGED
@@ -170,6 +170,7 @@ class PgBoss extends EventEmitter {
170
170
  await delay(1000)
171
171
  }
172
172
 
173
+ await this.boss.stop()
173
174
  await shutdown()
174
175
  } catch (err) {
175
176
  this.emit(events.error, err)