Commit Graph

37 Commits (a3648f84b2b89b58e12453888eef837668e887ae)

Author SHA1 Message Date
Erik Johnston eefd9fee81 Fix up tests 8 years ago
Richard van der Hoff f9b4bb05e0 Fix the logcontext handling in the cache wrappers (#2077) 8 years ago
Richard van der Hoff b88a323ffb Fix time_bound_deferred to throw the right exception 8 years ago
Richard van der Hoff 95f21c7a66 Fix caching of remote servers' signature keys 8 years ago
Richard van der Hoff f40c2db05a Stop preserve_fn leaking context into the reactor 8 years ago
Erik Johnston 9e8e236d98 Tidy up test 8 years ago
Erik Johnston f85b6ca494 Speed up cache size calculation 8 years ago
Erik Johnston f2f179dce2 Add ExpiringCache tests 8 years ago
Erik Johnston 2fae34bd2c Optionally measure size of cache by sum of length of values 8 years ago
Erik Johnston d073cb7ead Add Limiter: limit concurrent access to resource 8 years ago
Erik Johnston 45fd2c8942 Ensure invalidation list does not grow unboundedly 8 years ago
Erik Johnston 4161ff2fc4 Add concept of cache contexts 8 years ago
Erik Johnston 7335f0adda Add ReadWriteLock 9 years ago
Erik Johnston af03ecf352 Deduplicate joins 9 years ago
Mark Haines 7641a90c34 Add a test for TreeCache.__contains__ 9 years ago
Mark Haines 700487a7c7 Fix flake8 warnings for tests 9 years ago
Erik Johnston 9e7900da1e Add wheeltimer impl 9 years ago
Erik Johnston e664e9737c Fix test 9 years ago
Erik Johnston 4fce59f274 Add tests 9 years ago
David Baker d552861346 Revert all the bits changing keys of eeverything that used LRUCaches to tuples 9 years ago
David Baker 10f76dc5da Make LRU cache not default to treecache & add options to use it 9 years ago
David Baker 31a051b677 Test treecache directly 9 years ago
David Baker 4efcaa43c8 Add tests for treecache directly and test del_multi at the LruCache level too. 9 years ago
David Baker f1f8122120 Change LRUCache to be tree-based so we can delete subtrees. 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines 7fa71e3267 Add a unit test for the snapshot cache 9 years ago
Mark Haines c452dabc3d Remove the LockManager class because it wasn't being used 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston c67ba143fa Move DictionaryCache 9 years ago
Erik Johnston e7768e77f5 Add basic dictionary cache 9 years ago
Mark Haines d8324d5a2b Add a lru cache class 10 years ago
Mark Haines b29517bd01 Add a request-id to each log line 10 years ago
Paul "LeoNerd" Evans cd62ee3f29 Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Matthew Hodgson 3e35a9f96e add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago