aboutsummaryrefslogtreecommitdiff
path: root/internal/caching/cache_serverkeys.go
AgeCommit message (Collapse)Author
2022-03-01Allow specifying max age for caches (#2239)Neil Alexander
* Allow specifying max age for caches * Evict cache entry if it's found to be stale when we call Get * Fix bugs
2020-06-16More server key updates, tests (#1129)Neil Alexander
* More key tweaks * Start testing stuff * Move responsibility for generating local keys into server key API, don't register prom in caches unless needed, start tests * Don't store our own keys in the database * Don't store our own keys in the database * Don't run tests for now * Tweak caching behaviour, update tests * Update comments, add fixes from forward-merge * Debug logging * Debug logging * Perform final comparison against original set of requests * oops * Fetcher timeouts * Fetcher timeouts * missing func * Tweaks * Update gomatrixserverlib * Fix Federation API test * Break up FetchKeys * Add comments to caching * Add URL check in test * Partially revert "Move responsibility for generating local keys into server key API, don't register prom in caches unless needed, start tests" This reverts commit d7eb54c5b30b2f6a9d6514b643e32e6ad2b602f3. * Fix federation API test * Fix internal cache stuff again * Fix server key API test * Update comments * Update comments from review * Fix lint
2020-06-12More key tweaks (#1116)Neil Alexander
2020-06-05More flexible caching (#1101)Neil Alexander