0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 10:43:53 +01:00
synapse/tests/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 Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
test_descriptors.py Fix some error cases in the caching layer. (#5749) 2019-07-25 15:59:45 +01:00
test_ttlcache.py Retry well-known lookup before expiry. 2019-08-13 16:20:38 +01:00