synapse-product/synapse/streams
Erik Johnston 7941372ec8
Make token serializing/deserializing async ()
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
config.py Make token serializing/deserializing async () 2020-09-30 20:29:19 +01:00
events.py Stop sub-classing object () 2020-09-04 06:54:56 -04:00