synapse/synapse
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
..
_scripts Track device list updates per room. (#12321) 2022-04-04 15:25:20 +01:00
api Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
app Move update_client_ip background job from the main process to the background worker. (#12251) 2022-04-01 13:08:55 +01:00
appservice Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
config Track device list updates per room. (#12321) 2022-04-04 15:25:20 +01:00
crypto Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
events Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
federation Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
groups Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
handlers Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
http Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
logging Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
metrics Use version string helper from matrix-common (#11979) 2022-02-14 13:12:22 +00:00
module_api Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
push Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
replication Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
res Tweak copy for sso account details template (#12265) 2022-03-22 10:22:25 +00:00
rest Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
server_notices Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
streams Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
util Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
__init__.py 1.56.0 2022-04-05 12:44:00 +01:00
event_auth.py Remove excess condition on knock->leave check (#11900) 2022-02-22 18:35:01 +00:00
notifier.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Pin signedjson to <= 1.1.1 as a temporary workaround for #12324 2022-04-05 12:13:44 +01:00
server.py Add a relations handler to avoid duplication. (#12227) 2022-03-16 10:39:15 -04:00
types.py Explain how to decipher live and historic pagination tokens (#12317) 2022-04-05 10:57:09 +01:00
visibility.py Handle outliers in /federation/v1/event (#12332) 2022-03-31 17:39:34 +00:00