From 33c2c5946092cfbf4cd2a58063a46759fa6fcf7a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Dec 2023 12:03:10 +0100 Subject: [PATCH] Add indexation hosts log --- server/lib/schedulers/indexation-scheduler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/lib/schedulers/indexation-scheduler.ts b/server/lib/schedulers/indexation-scheduler.ts index a66e5c7..660539d 100644 --- a/server/lib/schedulers/indexation-scheduler.ts +++ b/server/lib/schedulers/indexation-scheduler.ts @@ -61,6 +61,8 @@ export class IndexationScheduler extends AbstractScheduler { await o.removeFromHosts(removedHosts) } + logger.info({ indexHosts }, 'Will index %s hosts', indexHosts.length) + await Bluebird.map(indexHosts, async host => { try { await this.indexHost(host)