pg-boss 12.21.0 → 12.21.2
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/db.js +1 -1
- package/dist/index.js +1 -1
- 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
|
|
13
|
+
config.connectionTimeoutMillis ??= 10000;
|
|
14
14
|
// config.maxUses = config.maxUses || 1000
|
|
15
15
|
this.config = config;
|
|
16
16
|
this._pgbdb = true;
|
package/dist/index.js
CHANGED
|
@@ -265,7 +265,7 @@ export class PgBoss extends EventEmitter {
|
|
|
265
265
|
return this.#manager.deleteQueue(name);
|
|
266
266
|
}
|
|
267
267
|
getQueues(names) {
|
|
268
|
-
return this.#manager.getQueues();
|
|
268
|
+
return this.#manager.getQueues(names);
|
|
269
269
|
}
|
|
270
270
|
getQueue(name) {
|
|
271
271
|
return this.#manager.getQueue(name);
|