Skip to content
Snippets Groups Projects
  1. Jul 04, 2017
  2. Jun 27, 2017
  3. Jun 15, 2017
  4. May 26, 2017
  5. May 22, 2017
  6. May 17, 2017
    • Erik Johnston's avatar
      Make get_state_groups_from_groups faster. · bbfe4e99
      Erik Johnston authored
      Most of the time was spent copying a dict to filter out sentinel values
      that indicated that keys did not exist in the dict. The sentinel values
      were added to ensure that we cached the non-existence of keys.
      
      By updating DictionaryCache to keep track of which keys were known to
      not exist itself we can remove a dictionary copy.
      bbfe4e99
  7. May 09, 2017
  8. May 02, 2017
  9. Apr 11, 2017
  10. Apr 03, 2017
  11. Mar 30, 2017
  12. Mar 28, 2017
  13. Mar 23, 2017
  14. Mar 22, 2017
    • Richard van der Hoff's avatar
      Fix caching of remote servers' signature keys · 95f21c7a
      Richard van der Hoff authored
      The `@cached` decorator on `KeyStore._get_server_verify_key` was missing
      its `num_args` parameter, which meant that it was returning the wrong key for
      any server which had more than one recorded key.
      
      By way of a fix, change the default for `num_args` to be *all* arguments. To
      implement that, factor out a common base class for `CacheDescriptor` and `CacheListDescriptor`.
      95f21c7a
  15. Mar 20, 2017
  16. Mar 18, 2017
    • Richard van der Hoff's avatar
      Stop preserve_fn leaking context into the reactor · f40c2db0
      Richard van der Hoff authored
      Fix a bug in ``logcontext.preserve_fn`` which made it leak context into the
      reactor, and add a test for it.
      
      Also, get rid of ``logcontext.reset_context_after_deferred``, which tried to do
      the same thing but had its own, different, set of bugs.
      f40c2db0
  17. Mar 15, 2017
  18. Feb 14, 2017
  19. Feb 02, 2017
    • Erik Johnston's avatar
      Fix email push in pusher worker · 51adaac9
      Erik Johnston authored
      This was broken when device list updates were implemented, as Mailer
      could no longer instantiate an AuthHandler due to a dependency on
      federation sending.
      51adaac9
  20. Jan 31, 2017
  21. Jan 30, 2017
  22. Jan 26, 2017
  23. Jan 25, 2017
  24. Jan 20, 2017
  25. Jan 17, 2017
    • Erik Johnston's avatar
      Optimise state resolution · 5d6bad1b
      Erik Johnston authored
      5d6bad1b
    • Erik Johnston's avatar
      Tidy up test · 9e8e236d
      Erik Johnston authored
      9e8e236d
    • Erik Johnston's avatar
      Speed up cache size calculation · f85b6ca4
      Erik Johnston authored
      Instead of calculating the size of the cache repeatedly, which can take
      a long time now that it can use a callback, instead cache the size and
      update that on insertion and deletion.
      
      This requires changing the cache descriptors to have two caches, one for
      pending deferreds and the other for the actual values. There's no reason
      to evict from the pending deferreds as they won't take up any more
      memory.
      f85b6ca4
  26. Jan 16, 2017
  27. Jan 13, 2017
Loading