diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:05:39 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:05:39 +0200 |
| commit | 0bac5bdb83bbc596f223b708bc226d8b2787359a (patch) | |
| tree | fa9de4095a7bb0666472e99dd4434dfe2a42e2ed | |
| parent | fc525567e11df476afa31ad073c23f6dfc9e1337 (diff) | |
| download | shrinker-0bac5bdb83bbc596f223b708bc226d8b2787359a.tar.gz shrinker-0bac5bdb83bbc596f223b708bc226d8b2787359a.zip | |
output config on boot
| -rw-r--r-- | worker.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -71,6 +71,11 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { // server sends as long as there are less than `prefetch` unACKed await ch.prefetch(BATCHSIZE); + logger.info("configuration", { + QUEUE, BATCHSIZE, CHUNKSIZE, MAXCONNS, LOAD_TIMEOUT, IDLE_TIMEOUT, + DOREAPMATCH, REAP_QUEUE + }); + const model = require("../orm/model")(seq, Seq); // performance logging |
