synapse-product/synapse/replication/tcp
Sean Quah 800ba87cc8
Refactor and convert Linearizer to async (#12357)
Refactor and convert `Linearizer` to async. This makes a `Linearizer`
cancellation bug easier to fix.

Also refactor to use an async context manager, which eliminates an
unlikely footgun where code that doesn't immediately use the context
manager could forget to release the lock.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-05 15:43:52 +01:00
..
streams Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
client.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
commands.py Move update_client_ip background job from the main process to the background worker. (#12251) 2022-04-01 13:08:55 +01:00
external_cache.py Fix incorrect type hints for txredis. (#12042) 2022-03-08 07:26:05 -05:00
handler.py Move update_client_ip background job from the main process to the background worker. (#12251) 2022-04-01 13:08:55 +01:00
protocol.py Add missing type hints to synapse.replication. (#11938) 2022-02-08 11:03:08 -05:00
redis.py Rename get_tcp_replication to get_replication_command_handler. (#12192) 2022-03-10 13:01:56 +00:00
resource.py Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00