diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:16:34 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:16:34 +0200 |
| commit | 722b27dc9cbecd90fafebebfee58eac137deb3df (patch) | |
| tree | 845cd51b9173de0da8358091aa7cf2758d97a0d1 | |
| parent | 193c22d7d0aafd4a2e340940b2c283e8156ebc12 (diff) | |
| download | cruncher-722b27dc9cbecd90fafebebfee58eac137deb3df.tar.gz cruncher-722b27dc9cbecd90fafebebfee58eac137deb3df.zip | |
output config on boot
| -rw-r--r-- | worker.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"); |
