MatrixSynapse/synapse/storage
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427)
The idea is that in future tokens will encode a mapping of instance to position. However, we don't want to include the full instance name in the string representation, so instead we'll have a mapping between instance name and an immutable integer ID in the DB that we can use instead. We'll then do the lookup when we serialize/deserialize the token (we could alternatively pass around an `Instance` type that includes both the name and ID, but that turns out to be a lot more invasive).
2020-09-30 20:29:19 +01:00
..
databases Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
engines
schema
util Don't table scan events on worker startup (#8419) 2020-09-29 16:42:19 +01:00
__init__.py
_base.py
background_updates.py
database.py
keys.py
persist_events.py Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
prepare_database.py
purge_events.py
push_rule.py
relations.py
roommember.py
state.py Mypy fixes for `synapse.handlers.federation` (#8422) 2020-09-29 15:57:36 +01:00
types.py