1
0
mirror of https://framagit.org/framasoft/peertube/search-index/ synced 2025-01-24 16:30:56 +01:00

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

View File

@ -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)