mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 04:06:54 +00:00
fix: Actually check backoff before attempting to fetch prevs
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user