mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 04:41:03 +02:00
EventIndex: Log if we had all events in a checkpoint but are continuing.
This commit is contained in:
parent
5c5c095737
commit
c6fcaf86ff
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user