diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:21:51 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:21:51 +0200 |
| commit | 10f425d24daef16f3abb15d2e6212996f2817a90 (patch) | |
| tree | 58b1dea188260dd4fda835dc72dc3bf0dcafa2b9 | |
| parent | 7bd6a35cbe01ef621ac9f20eba3b7a691d0f9699 (diff) | |
| download | processor-10f425d24daef16f3abb15d2e6212996f2817a90.tar.gz processor-10f425d24daef16f3abb15d2e6212996f2817a90.zip | |
fix pool config
| -rw-r--r-- | worker.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |
