Historique des commits

Auteur SHA1 Message Date
  Erik Johnston 29a4066a4d Update test il y a 7 ans
  Erik Johnston eefd9fee81 Fix up tests il y a 7 ans
  Erik Johnston f85b6ca494 Speed up cache size calculation il y a 7 ans
  Erik Johnston 45fd2c8942 Ensure invalidation list does not grow unboundedly il y a 8 ans
  Erik Johnston c0d7d9d642 Rename to on_invalidate il y a 8 ans
  Erik Johnston dc76a3e909 Make cache_context an explicit option il y a 8 ans
  Erik Johnston ba214a5e32 Remove lru option il y a 8 ans
  Erik Johnston 4161ff2fc4 Add concept of cache contexts il y a 8 ans
  Mark Haines 700487a7c7 Fix flake8 warnings for tests il y a 8 ans
  Matthew Hodgson 6c28ac260c copyrights il y a 8 ans
  Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches il y a 9 ans
  Erik Johnston b8e386db59 Change Cache to not use *args in its interface il y a 9 ans
  Erik Johnston 7eea3e356f Make @cached cache deferreds rather than the deferreds' values il y a 9 ans
  Erik Johnston d8866d7277 Caches should be bound to instances. il y a 9 ans
  Paul "LeoNerd" Evans 9ba6487b3f Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict() il y a 9 ans
  Paul "LeoNerd" Evans 7ab9f91a60 Unit-test that Cache() key eviction is ordered il y a 9 ans
  Paul "LeoNerd" Evans 0f86312c4c Pull out the cache logic from the @cached wrapper into its own class we can reuse il y a 9 ans
  Paul "LeoNerd" Evans f53fcbce97 Use cache.pop() instead of a separate membership test + del [] il y a 9 ans
  Paul "LeoNerd" Evans e76d485e29 Allow @cached-wrapped functions to have a prefill method for setting entries il y a 9 ans
  Paul "LeoNerd" Evans ebc3db295b Take named arguments to @cached() decorator, add a 'max_entries' limit il y a 9 ans