Add indexation hosts log

This commit is contained in:
Chocobozzz 2023-12-18 12:03:10 +01:00
parent 660e4d927c
commit 33c2c59460
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ export class IndexationScheduler extends AbstractScheduler {
await o.removeFromHosts(removedHosts) await o.removeFromHosts(removedHosts)
} }
logger.info({ indexHosts }, 'Will index %s hosts', indexHosts.length)
await Bluebird.map(indexHosts, async host => { await Bluebird.map(indexHosts, async host => {
try { try {
await this.indexHost(host) await this.indexHost(host)