summary refs log tree commit diff
path: root/tests/storage/test__base.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+1
* Change Cache to not use *args in its interfaceErik Johnston2015-08-071-6/+6
* Make @cached cache deferreds rather than the deferreds' valuesErik Johnston2015-08-061-4/+7
* Caches should be bound to instances.Erik Johnston2015-06-031-35/+49
* Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict()Paul "LeoNerd" Evans2015-03-251-0/+22
* Unit-test that Cache() key eviction is orderedPaul "LeoNerd" Evans2015-03-251-0/+18
* Pull out the cache logic from the @cached wrapper into its own class we can r...Paul "LeoNerd" Evans2015-03-201-1/+33
* Use cache.pop() instead of a separate membership test + del []Paul "LeoNerd" Evans2015-02-231-0/+7
* Allow @cached-wrapped functions to have a prefill method for setting entriesPaul "LeoNerd" Evans2015-02-231-0/+14
* Take named arguments to @cached() decorator, add a 'max_entries' limitPaul "LeoNerd" Evans2015-02-191-0/+89