fix: Actually check backoff before attempting to fetch prevs

This commit is contained in:
timedout authored and Ellis Git committed 2026-09-01 16:24:18 +00:00
1 parent ebf48d1b08
commit 32c652d67d
1 file changed
+4
@@ -626,6 +626,10 @@ impl super::Service {
if discovered_events.contains_key(&next_id) {
continue;
}
if let Err(e) = self.ensure_can_pull_event(&next_id) {
debug_warn!(error=?e, "Not attempting to pull missing prev event");
continue;
}
let pdu = match self
.fetch_event_vias(candidates.iter(), &next_id, room_version_rules)
.await