From c6fcaf86ffafe79dde4b55423999028d98bfc9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 8 Apr 2020 11:15:13 +0200 Subject: [PATCH] EventIndex: Log if we had all events in a checkpoint but are continuing. --- src/indexing/EventIndex.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index 69939d0f32..1226b84b5b 100644 --- a/src/indexing/EventIndex.js +++ b/src/indexing/EventIndex.js @@ -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) {