mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-07 19:27:18 +00:00
fix: Actually check backoff before attempting to fetch prevs
This commit is contained in:
@@ -626,6 +626,10 @@ pub(super) async fn fetch_prev_events<Pdu>(
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user