mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-07-25 03:25:16 -04:00
Spread out sending device lists to remote hosts (#12132)
This commit is contained in:
parent
87c230c27c
commit
423cca9efe
7 changed files with 79 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue