diff options
author | Erik Johnston <erik@matrix.org> | 2019-08-12 15:39:14 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-08-13 16:20:38 +0100 |
commit | 17e1e807264ce13774d9b343c96406795ea24c27 (patch) | |
tree | ae21442fa71066b889a5cc2d83da95a699146590 /synapse/util/caches/descriptors.py | |
parent | Don't load the media repo when configured to use an external media repo (#5754) (diff) | |
download | synapse-17e1e807264ce13774d9b343c96406795ea24c27.tar.xz |
Retry well-known lookup before expiry.
This gives a bit of a grace period where we can attempt to refetch a remote `well-known`, while still using the cached result if that fails. Hopefully this will make the well-known resolution a bit more torelant of failures, rather than it immediately treating failures as "no result" and caching that for an hour.
Diffstat (limited to 'synapse/util/caches/descriptors.py')
0 files changed, 0 insertions, 0 deletions