summary refs log tree commit diff
path: root/scripts-dev (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-01Add prometheus metrics to track federation delays (#8430)Richard van der Hoff8-6/+88
Add a pair of federation metrics to track the delays in sending PDUs to/from particular servers.
2020-09-30Make token serializing/deserializing async (#8427)Erik Johnston17-59/+115
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 incl