summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 4647d43..32b0859 100644
--- a/worker.js
+++ b/worker.js
@@ -97,7 +97,9 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => {
// connect to rabbit & db
const seq = new Seq(DATABASE_URI, {
logging: false,
- max: MAXCONNS
+ pool: {
+ max: MAXCONNS
+ }
});
const ch = await rabbit.createChannel();