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

This commit is contained in:
Damir Jelić 2020-04-08 14:23:54 +02:00
commit a26a3f5862

View file

@ -530,6 +530,10 @@ export default class EventIndex extends EventEmitter {
"added, stopping the crawl", checkpoint); "added, stopping the crawl", checkpoint);
await indexManager.removeCrawlerCheckpoint(newCheckpoint); await indexManager.removeCrawlerCheckpoint(newCheckpoint);
} else { } 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); this.crawlerCheckpoints.push(newCheckpoint);
} }
} catch (e) { } catch (e) {