mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Don't fetch state for missing events that we fetched
This commit is contained in:
parent
25a96e0c63
commit
3a9f5bf6dd
@ -171,6 +171,12 @@ class FederationHandler(BaseHandler):
|
|||||||
yield self._get_missing_events_for_pdu(
|
yield self._get_missing_events_for_pdu(
|
||||||
origin, pdu, prevs, min_depth
|
origin, pdu, prevs, min_depth
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Update the set of things we've seen after trying to
|
||||||
|
# fetch the missing stuff
|
||||||
|
have_seen = yield self.store.have_events(
|
||||||
|
[ev for ev, _ in pdu.prev_events]
|
||||||
|
)
|
||||||
elif prevs - seen:
|
elif prevs - seen:
|
||||||
logger.info(
|
logger.info(
|
||||||
"Not fetching %d missing events for room %r,event %s: %r...",
|
"Not fetching %d missing events for room %r,event %s: %r...",
|
||||||
|
Loading…
Reference in New Issue
Block a user