mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:44:52 -04:00
Actually fetch state for new backwards extremeties when backfilling.
This commit is contained in:
parent
9084cdd70f
commit
20814fabdd
2 changed files with 108 additions and 62 deletions
|
@ -168,7 +168,11 @@ class FederationClient(FederationBase):
|
|||
for i, pdu in enumerate(pdus):
|
||||
pdus[i] = yield self._check_sigs_and_hash(pdu)
|
||||
|
||||
# FIXME: We should handle signature failures more gracefully.
|
||||
# FIXME: We should handle signature failures more gracefully.
|
||||
pdus[:] = yield defer.gatherResults(
|
||||
[self._check_sigs_and_hash(pdu) for pdu in pdus],
|
||||
consumeErrors=True,
|
||||
).addErrback(unwrapFirstError)
|
||||
|
||||
defer.returnValue(pdus)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue