More logs
This commit is contained in:
parent
477fd984cf
commit
bf63503e23
|
@ -59,11 +59,13 @@ export class IndexationScheduler extends AbstractScheduler {
|
|||
const { indexHosts, removedHosts } = await buildInstanceHosts()
|
||||
this.indexedHosts = indexHosts
|
||||
|
||||
logger.info({ removedHosts }, `Will remove ${removedHosts.length} hosts that do not exist anymore`)
|
||||
|
||||
for (const o of this.indexers) {
|
||||
await o.removeFromHosts(removedHosts)
|
||||
}
|
||||
|
||||
logger.info({ indexHosts }, 'Will index %s hosts', indexHosts.length)
|
||||
logger.info({ indexHosts }, `Will index ${indexHosts.length} hosts`)
|
||||
|
||||
await Bluebird.map(indexHosts, async host => {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue