mirror of
https://mau.dev/maunium/synapse.git
synced 2024-07-16 16:12:44 +00:00
Avoid AlreadyCalledError from EDU sending failures
This commit is contained in:
parent
c46c806126
commit
b1da3fa0a7
|
@ -541,7 +541,8 @@ class _TransactionQueue(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
def eb(failure):
|
def eb(failure):
|
||||||
deferred.errback(failure)
|
if not deferred.called:
|
||||||
|
deferred.errback(failure)
|
||||||
self._attempt_new_transaction(destination).addErrback(eb)
|
self._attempt_new_transaction(destination).addErrback(eb)
|
||||||
|
|
||||||
return deferred
|
return deferred
|
||||||
|
|
Loading…
Reference in New Issue
Block a user