Histórico de Commits

Autor SHA1 Mensagem Data
  Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches há 9 anos atrás
  Erik Johnston b8e386db59 Change Cache to not use *args in its interface há 9 anos atrás
  Erik Johnston 7eea3e356f Make @cached cache deferreds rather than the deferreds' values há 9 anos atrás
  Erik Johnston d8866d7277 Caches should be bound to instances. há 9 anos atrás
  Paul "LeoNerd" Evans 9ba6487b3f Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict() há 9 anos atrás
  Paul "LeoNerd" Evans 7ab9f91a60 Unit-test that Cache() key eviction is ordered há 9 anos atrás
  Paul "LeoNerd" Evans 0f86312c4c Pull out the cache logic from the @cached wrapper into its own class we can reuse há 9 anos atrás
  Paul "LeoNerd" Evans f53fcbce97 Use cache.pop() instead of a separate membership test + del [] há 9 anos atrás
  Paul "LeoNerd" Evans e76d485e29 Allow @cached-wrapped functions to have a prefill method for setting entries há 9 anos atrás
  Paul "LeoNerd" Evans ebc3db295b Take named arguments to @cached() decorator, add a 'max_entries' limit há 9 anos atrás