summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-31 13:40:09 +0000
committerErik Johnston <erik@matrix.org>2017-01-31 13:40:09 +0000
commitae7a132f38404e9f654ab1b7c5dd84ba6a3efda6 (patch)
treec13c391bfa204442536660dca6909752dbf08e8a /synapse/federation
parentFix deletion of old sent devices correctly (diff)
downloadsynapse-ae7a132f38404e9f654ab1b7c5dd84ba6a3efda6.tar.xz
Better handle 404 response for federation /send/
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transaction_queue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index d18f6b6cfd..cb106c6a1b 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -319,6 +319,7 @@ class TransactionQueue(object):
                     destination,
                     self.clock,
                     self.store,
+                    backoff_on_404=True,  # If we get a 404 the other side has gone
                 )
 
                 device_message_edus, device_stream_id, dev_list_id = (