Commit History

Autor SHA1 Mensaxe Data
  Patrick Cloke 509e381afa Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) %!s(int64=4) %!d(string=hai) anos
  Erik Johnston 756d4942f5 Move DB pool and helper functions into dedicated Database class %!s(int64=5) %!d(string=hai) anos
  Erik Johnston ee86abb2d6 Remove underscore from SQLBaseStore functions %!s(int64=5) %!d(string=hai) anos
  Erik Johnston 326b3dace7 Make ObservableDeferred.observe() always return deferred. %!s(int64=5) %!d(string=hai) anos
  Amber Brown a06614bd2a UPSERT many functionality (#4644) %!s(int64=5) %!d(string=hai) anos
  black 8b3d9b6b19 Run black. %!s(int64=6) %!d(string=hai) anos
  Amber Brown b37c472419 Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) %!s(int64=6) %!d(string=hai) anos
  Amber Brown 49af402019 run isort %!s(int64=6) %!d(string=hai) anos
  Erik Johnston 29a4066a4d Update test %!s(int64=7) %!d(string=hai) anos
  Erik Johnston eefd9fee81 Fix up tests %!s(int64=7) %!d(string=hai) anos
  Erik Johnston f85b6ca494 Speed up cache size calculation %!s(int64=7) %!d(string=hai) anos
  Erik Johnston 45fd2c8942 Ensure invalidation list does not grow unboundedly %!s(int64=8) %!d(string=hai) anos
  Erik Johnston c0d7d9d642 Rename to on_invalidate %!s(int64=8) %!d(string=hai) anos
  Erik Johnston dc76a3e909 Make cache_context an explicit option %!s(int64=8) %!d(string=hai) anos
  Erik Johnston ba214a5e32 Remove lru option %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 4161ff2fc4 Add concept of cache contexts %!s(int64=8) %!d(string=hai) anos
  Mark Haines 700487a7c7 Fix flake8 warnings for tests %!s(int64=8) %!d(string=hai) anos
  Matthew Hodgson 6c28ac260c copyrights %!s(int64=9) %!d(string=hai) anos
  Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches %!s(int64=9) %!d(string=hai) anos
  Erik Johnston b8e386db59 Change Cache to not use *args in its interface %!s(int64=9) %!d(string=hai) anos
  Erik Johnston 7eea3e356f Make @cached cache deferreds rather than the deferreds' values %!s(int64=9) %!d(string=hai) anos
  Erik Johnston d8866d7277 Caches should be bound to instances. %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans 9ba6487b3f Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict() %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans 7ab9f91a60 Unit-test that Cache() key eviction is ordered %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans 0f86312c4c Pull out the cache logic from the @cached wrapper into its own class we can reuse %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans f53fcbce97 Use cache.pop() instead of a separate membership test + del [] %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans e76d485e29 Allow @cached-wrapped functions to have a prefill method for setting entries %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans ebc3db295b Take named arguments to @cached() decorator, add a 'max_entries' limit %!s(int64=9) %!d(string=hai) anos