diff options
author | Erik Johnston <erik@matrix.org> | 2017-06-29 14:50:18 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-06-29 14:50:18 +0100 |
commit | 2c365f472309f34105504245feab34f9685acb2f (patch) | |
tree | 6b0e903d7f146af9bfc91dbad25c2c2b8ff2b840 /synapse/api/constants.py | |
parent | Merge pull request #2319 from matrix-org/erikj/prune_sessions (diff) | |
download | synapse-2c365f472309f34105504245feab34f9685acb2f.tar.xz |
Cache macaroon parse and validation
Turns out this can be quite expensive for requests, and is easily cachable. We don't cache the lookup to the DB so invalidation still works.
Diffstat (limited to 'synapse/api/constants.py')
0 files changed, 0 insertions, 0 deletions