mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
perf: Don't try to fetch prevs we already fetched
graphs are hard
This commit is contained in:
1 file changed
+3
@@ -600,6 +600,9 @@ impl super::Service {
|
||||
);
|
||||
break;
|
||||
}
|
||||
if discovered_events.contains_key(&next_id) {
|
||||
continue;
|
||||
}
|
||||
let pdu = match self
|
||||
.fetch_event_vias(candidates.iter(), &next_id, room_version_rules)
|
||||
.await
|
||||
|
||||
Reference in new issue
Block a user