summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-02-01 09:44:14 +0000
committerGitHub <noreply@github.com>2017-02-01 09:44:14 +0000
commit06567ec51362710305fcc13bc762436e399194df (patch)
treeae84c6d5eb12cc35756ce63234de378cda9e72fc /synapse/federation/transaction_queue.py
parentMerge pull request #1864 from matrix-org/erikj/device_list_fixes (diff)
parentRemove explicit < 400 check as apparently this is confusing (diff)
downloadsynapse-06567ec51362710305fcc13bc762436e399194df.tar.xz
Merge pull request #1866 from matrix-org/erikj/device_list_fixes
Better handle 404 response for federation /send/
Diffstat (limited to 'synapse/federation/transaction_queue.py')
-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 = (