mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-12 19:12:32 -05:00
Use consumeErrors=True on all DeferredLists.
This is so that the DeferredLists actually consume the error instead of propogating down the non-existent errback chain. This should reduce the number of unhandled errors we are seeing.
This commit is contained in:
parent
0421eb84ac
commit
72a4de2ce6
5 changed files with 11 additions and 9 deletions
|
|
@ -124,7 +124,7 @@ class FederationServer(FederationBase):
|
|||
edu.content
|
||||
)
|
||||
|
||||
results = yield defer.DeferredList(dl)
|
||||
results = yield defer.DeferredList(dl, consumeErrors=True)
|
||||
|
||||
ret = []
|
||||
for r in results:
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ class TransactionQueue(object):
|
|||
|
||||
deferreds.append(deferred)
|
||||
|
||||
yield defer.DeferredList(deferreds)
|
||||
yield defer.DeferredList(deferreds, consumeErrors=True)
|
||||
|
||||
# NO inlineCallbacks
|
||||
def enqueue_edu(self, edu):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue