From 722b27dc9cbecd90fafebebfee58eac137deb3df Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 8 Aug 2017 16:16:34 +0200 Subject: output config on boot --- worker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worker.js b/worker.js index 8e0ef15..2a6523b 100644 --- a/worker.js +++ b/worker.js @@ -63,6 +63,10 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { await ch.assertQueue(QUEUE, { durable: true }); await ch.assertQueue(QUEUE + "_failed", { durable: true }); + logger.info("configuration", { + SCRIPT, QUEUE, BATCHSIZE, MAXCONNS, LOAD_TIMEOUT + }); + // load update SQL scripts; scripts use sequelize replacements // for the `participant_api_id` array const script = fs.readFileSync(SCRIPT, "utf8"); -- cgit v1.3.1