diff options
author | Erik Johnston <erik@matrix.org> | 2019-08-06 16:27:46 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-08-06 17:01:23 +0100 |
commit | af9f1c07646031bf267aa20f2629d5b96c6603b6 (patch) | |
tree | 15dccf6f8ce7c589bda29b760d72c56f3de456c3 /synapse/util/stringutils.py | |
parent | Merge pull request #5825 from matrix-org/erikj/fix_empty_limited_sync (diff) | |
download | synapse-af9f1c07646031bf267aa20f2629d5b96c6603b6.tar.xz |
Add a lower bound for TTL on well known results.
It costs both us and the remote server for us to fetch the well known for every single request we send, so we add a minimum cache period. This is set to 5m so that we still honour the basic premise of "refetch frequently".
Diffstat (limited to 'synapse/util/stringutils.py')
0 files changed, 0 insertions, 0 deletions