summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js4
1 files changed, 4 insertions, 0 deletions
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");