mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Ensure only main or federation_sender process can send federation traffic
This commit is contained in:
parent
b69f76c106
commit
26072df6af
3 changed files with 21 additions and 5 deletions
|
@ -460,7 +460,7 @@ class ReplicationResource(Resource):
|
|||
)
|
||||
upto_token = _position_from_rows(to_device_rows, current_position)
|
||||
writer.write_header_and_rows("to_device", to_device_rows, (
|
||||
"position", "entity",
|
||||
"position", "user_id", "device_id", "message_json"
|
||||
), position=upto_token)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue