pg-boss 12.21.0 → 12.21.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/dist/db.js +1 -1
  2. package/package.json +1 -1
package/dist/db.js CHANGED
@@ -10,7 +10,7 @@ class Db extends EventEmitter {
10
10
  constructor(config) {
11
11
  super();
12
12
  config.application_name = config.application_name || 'pgboss';
13
- config.connectionTimeoutMillis = config.connectionTimeoutMillis || 10000;
13
+ config.connectionTimeoutMillis ??= 10000;
14
14
  // config.maxUses = config.maxUses || 1000
15
15
  this.config = config;
16
16
  this._pgbdb = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "12.21.0",
3
+ "version": "12.21.1",
4
4
  "description": "Queueing jobs in Postgres from Node.js like a boss",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",