summary refs log tree commit diff
path: root/synapse/util/caches/descriptors.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-08-12 15:39:14 +0100
committerErik Johnston <erik@matrix.org>2019-08-13 16:20:38 +0100
commit17e1e807264ce13774d9b343c96406795ea24c27 (patch)
treeae21442fa71066b889a5cc2d83da95a699146590 /synapse/util/caches/descriptors.py
parentDon't load the media repo when configured to use an external media repo (#5754) (diff)
downloadsynapse-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