summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-06-28 14:17:08 +0100
committerErik Johnston <erik@matrix.org>2021-06-28 14:17:56 +0100
commitf271b32beaf5515eb798708f4a205f768260d8c2 (patch)
tree8819075c3a85634bb67ac91a980ba09038c14450
parentDon't send catchup transactions for matrix hq (diff)
downloadsynapse-erikj/disable_catchup_to_hq.tar.xz
-rw-r--r--synapse/federation/sender/per_destination_queue.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py
index 3a2efd56ee..a44cc781c8 100644
--- a/synapse/federation/sender/per_destination_queue.py
+++ b/synapse/federation/sender/per_destination_queue.py
@@ -287,6 +287,13 @@ class PerDestinationQueue:
                             len(pending_pdus),
                         )
 
+                        # Filter out HQ traffic for now
+                        pending_pdus = [
+                            pdu
+                            for pdu in pending_pdus
+                            if pdu.room_id != "!OGEhHVWSdvArJzumhm:matrix.org"
+                        ]
+
                     await self._transaction_manager.send_new_transaction(
                         self._destination, pending_pdus, pending_edus
                     )