summary refs log tree commit diff
path: root/synapse/util/caches/ttlcache.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable mypy for synapse.util.caches (#8547)Richard van der Hoff2020-10-151-1/+1
| | | This seemed to entail dragging in a type stub for SortedList.
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
|
* Allow configuration of Synapse's cache without using synctl or environment ↵Amber Brown2020-05-111-1/+1
| | | | variables (#6391)
* Retry well-known lookup before expiry.Erik Johnston2019-08-131-3/+5
| | | | | | | | | 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.
* Run Black. (#5482)Amber Brown2019-06-201-0/+1
|
* Add a caching layer to .well-known responses (#4516)Richard van der Hoff2019-01-301-0/+161