forked-synapse/synapse/federation
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
..
sender Spread out sending device lists to remote hosts (#12132) 2022-03-04 11:48:15 +00:00
transport Fix a spec compliance issue where requests to the /publicRooms federation API would specify limit as a string. (#12364) 2022-04-05 12:45:36 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
federation_client.py Check if instances are lists, not sequences. (#12128) 2022-03-02 13:18:51 +00:00
federation_server.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
persistence.py Remove log_function and its uses (#11761) 2022-01-18 13:06:04 +00:00
send_queue.py Spread out sending device lists to remote hosts (#12132) 2022-03-04 11:48:15 +00:00
units.py Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00