synapse-product/synapse/app
Erik Johnston 4f21c33be3
Remove usage of "conn_id" for presence. (#7128)
* Remove `conn_id` usage for UserSyncCommand.

Each tcp replication connection is assigned a "conn_id", which is used
to give an ID to a remotely connected worker. In a redis world, there
will no longer be a one to one mapping between connection and instance,
so instead we need to replace such usages with an ID generated by the
remote instances and included in the replicaiton commands.

This really only effects UserSyncCommand.

* Add CLEAR_USER_SYNCS command that is sent on shutdown.

This should help with the case where a synchrotron gets restarted
gracefully, rather than rely on 5 minute timeout.
2020-03-30 16:37:24 +01:00
..
__init__.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
_base.py Move pusherpool startup into _base.setup (#7104) 2020-03-19 09:48:45 +00:00
admin_cmd.py Port synapse.replication.tcp to async/await (#6666) 2020-01-16 09:16:12 +00:00
appservice.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
client_reader.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
event_creator.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
federation_reader.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
federation_sender.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
frontend_proxy.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
generic_worker.py Remove usage of "conn_id" for presence. (#7128) 2020-03-30 16:37:24 +01:00
homeserver.py Move pusherpool startup into _base.setup (#7104) 2020-03-19 09:48:45 +00:00
media_repository.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
pusher.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
synchrotron.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
user_dir.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00