EventIndex: Log if we had all events in a checkpoint but are continuing.

pull/21833/head
Damir Jelić 2020-04-08 11:15:13 +02:00
parent 5c5c095737
commit c6fcaf86ff
1 changed files with 4 additions and 0 deletions

View File

@ -530,6 +530,10 @@ export default class EventIndex extends EventEmitter {
"added, stopping the crawl", checkpoint);
await indexManager.removeCrawlerCheckpoint(newCheckpoint);
} else {
if (eventsAlreadyAdded === true) {
console.log("EventIndex: Checkpoint had already all events",
"added, but continuing due to a full crawl", checkpoint);
}
this.crawlerCheckpoints.push(newCheckpoint);
}
} catch (e) {