Merge branch 'poljar/eventindex-log-improvement' into develop

pull/21833/head
Damir Jelić 2020-04-08 14:23:54 +02:00
commit a26a3f5862
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) {