forked-synapse/synapse/util/caches
Erik Johnston 17e1e80726 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.
2019-08-13 16:20:38 +01:00
..
__init__.py Add a prometheus metric for active cache lookups. (#5750) 2019-07-24 11:33:13 +01:00
descriptors.py Fix some error cases in the caching layer. (#5749) 2019-07-25 15:59:45 +01:00
dictionary_cache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
expiringcache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
lrucache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
response_cache.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
snapshot_cache.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
stream_change_cache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
treecache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
ttlcache.py Retry well-known lookup before expiry. 2019-08-13 16:20:38 +01:00