summary refs log tree commit diff
path: root/synapse/replication/tcp
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-03-04 11:48:15 +0000
committerGitHub <noreply@github.com>2022-03-04 11:48:15 +0000
commit423cca9efe06d78aaca5f62fb74ee7e5bceebe49 (patch)
tree8b8e5fe7e6fe30767f250c5f05e6c9c5200d4ae4 /synapse/replication/tcp
parentUpdate client-visibility filtering for outlier events (#12155) (diff)
downloadsynapse-423cca9efe06d78aaca5f62fb74ee7e5bceebe49.tar.xz
Spread out sending device lists to remote hosts (#12132)
Diffstat (limited to 'synapse/replication/tcp')
-rw-r--r--synapse/replication/tcp/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/tcp/client.py b/synapse/replication/tcp/client.py
index 1b8479b0b4..b8fc1d4db9 100644
--- a/synapse/replication/tcp/client.py
+++ b/synapse/replication/tcp/client.py
@@ -380,7 +380,7 @@ class FederationSenderHandler:
             # changes.
             hosts = {row.entity for row in rows if not row.entity.startswith("@")}
             for host in hosts:
-                self.federation_sender.send_device_messages(host)
+                self.federation_sender.send_device_messages(host, immediate=False)
 
         elif stream_name == ToDeviceStream.NAME:
             # The to_device stream includes stuff to be pushed to both local