0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 04:23:45 +01:00

Don't send failure to self

This commit is contained in:
Erik Johnston 2015-02-18 11:30:37 +00:00
parent 36e144091b
commit 47d3ff4cf8

View file

@ -128,6 +128,9 @@ class TransactionQueue(object):
@defer.inlineCallbacks
def enqueue_failure(self, failure, destination):
if destination == self.server_name:
return
deferred = defer.Deferred()
self.pending_failures_by_dest.setdefault(