Commit Graph

186 Commits (4ebb688f4ffcef2784df0aa7f5b088e72b28c07b)

Author SHA1 Message Date
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 d12c00bdc3 Add some docstring explaining the snapshot cache does 9 years ago
Mark Haines 7fa71e3267 Add a unit test for the snapshot cache 9 years ago
Mark Haines 9ac417fa88 Add a cache for initialSync responses that expires after 5 minutes 9 years ago
Mark Haines 6a5ff5f223 Track the time spent in the database per request. 9 years ago
Mark Haines 3dd1630848 Add a setter for the current log context. 9 years ago
Mark Haines 5231737369 Add comments to explain why we are hardcoding RUSAGE_THREAD 9 years ago
Mark Haines d6059bdd2a Fix warnings 9 years ago
Mark Haines 48a2526d62 Track the cpu used in the main thread by each logging context 9 years ago
Mark Haines a412b9a465 Run the background updates when starting synapse. 9 years ago
Daniel Wagner-Hall 2cebe53545 Exchange 3pid invites for m.room.member invites 9 years ago
Mark Haines c452dabc3d Remove the LockManager class because it wasn't being used 9 years ago
Erik Johnston eacb068ac2 Retry dead servers a lot less often 9 years ago
Daniel Wagner-Hall 0e5239ffc3 Stuff signed data in a standalone object 9 years ago
Daniel Wagner-Hall c225d63e9e Add signing host and keyname to signatures 9 years ago
Daniel Wagner-Hall b8dd5b1a2d Verify third party ID server certificates 9 years ago
Daniel Wagner-Hall 643b5fcdc8 Look for keys on the right objects 9 years ago
Mark Haines 5338220d3a synapse.util.emailutils was unused 9 years ago
Daniel Wagner-Hall d82c5f7b5c Use more descriptive error code 9 years ago
Daniel Wagner-Hall 0c38e8637f Remove unnecessary class-wrapping 9 years ago
Mark Haines 32d66738b0 Fix pep8 warnings. 9 years ago
Mark Haines 7639c3d9e5 Bounce all deferreds through the reactor to make debugging easier. 9 years ago
Daniel Wagner-Hall 17dffef5ec Move event contents into third_party_layout field 9 years ago
Daniel Wagner-Hall 5b3e9713dd Implement third party identifier invites 9 years ago
Mark Haines 372ac60375 synapse/util/__init__.py:unwrap_deferred was unused 9 years ago
Mark Haines e85c7873dc Allow non-ascii filenames for attachments 9 years ago
Erik Johnston 8e254862f4 Don't assume @cachedList function returns keys for everything 9 years ago
Erik Johnston cfa62007a3 Docstring 9 years ago
Erik Johnston 4807616e16 Wire up the dictionarycache to the metrics 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston dcefac3b06 Comments 9 years ago
Erik Johnston 7eea3e356f Make @cached cache deferreds rather than the deferreds' values 9 years ago
Erik Johnston 07507643cb Use dictionary cache to do group -> state fetching 9 years ago
Erik Johnston c67ba143fa Move DictionaryCache 9 years ago
Erik Johnston 9beaedd164 Enforce ascii filenames for uploads 10 years ago
Erik Johnston a68abc79fd Add comment on cancellation of observers 10 years ago
Erik Johnston 653533a3da Fix log context when sending requests 10 years ago
Erik Johnston 22049ea700 Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserStream.new_listener that accpets a token to avoid races. 10 years ago
Erik Johnston dd74436ffd Unused import 10 years ago
Erik Johnston 31ade3b3e9 Remove a deep copy 10 years ago
Mark Haines d61ce3f670 Add a cache for get_current_state with state_key 10 years ago
Erik Johnston 7cd6a6f6cf Awful idea for speeding up fetching of events 10 years ago
Erik Johnston cdb3757942 Refactor _get_events 10 years ago
Erik Johnston 8022b27fc2 Make distributer.fire work as it did 10 years ago
Erik Johnston 95dedb866f Unwrap defer.gatherResults failures 10 years ago
Erik Johnston 2236ef6c92 Fix up leak. Add warnings. 10 years ago
Erik Johnston da1aa07db5 Add some docs 10 years ago
Erik Johnston 476899295f Change the way we do logging contexts so that they survive divergences 10 years ago
Erik Johnston fca28d243e Change the way we create observers to deferreds so that we don't get spammed by 'unhandled errors' 10 years ago