mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-05 14:45:23 -05:00
Avoid AlreadyCalledError from EDU sending failures
This commit is contained in:
parent
c46c806126
commit
b1da3fa0a7
@ -541,6 +541,7 @@ class _TransactionQueue(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def eb(failure):
|
def eb(failure):
|
||||||
|
if not deferred.called:
|
||||||
deferred.errback(failure)
|
deferred.errback(failure)
|
||||||
self._attempt_new_transaction(destination).addErrback(eb)
|
self._attempt_new_transaction(destination).addErrback(eb)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user