diff options
author | Erik Johnston <erik@matrix.org> | 2020-09-30 20:29:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 20:29:19 +0100 |
commit | 7941372ec84786f85ae6d75fd2d7a4af5b72ac98 (patch) | |
tree | 7871841ee56daa554a283a8b2d409b8739047128 /changelog.d/8427.misc | |
parent | Merge pull request #8425 from matrix-org/rav/extremity_metrics (diff) | |
download | synapse-7941372ec84786f85ae6d75fd2d7a4af5b72ac98.tar.xz |
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).
Diffstat (limited to 'changelog.d/8427.misc')
-rw-r--r-- | changelog.d/8427.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8427.misc b/changelog.d/8427.misc new file mode 100644 index 0000000000..c9656b9112 --- /dev/null +++ b/changelog.d/8427.misc @@ -0,0 +1 @@ +Make stream token serializing/deserializing async. |