Commit Graph

480 Commits (1ccafb0c5e3e6c9c64ce231163e7c73f05b910fa)

Author SHA1 Message Date
Erik Johnston 4f3e3ac192 Correctly match 'dict.pop' api 6 years ago
Erik Johnston 8ea887856c Don't update eviction metrics on explicit removal 6 years ago
Richard van der Hoff 4a15a3e4d5
Include eventid in log lines when processing incoming federation transactions (#3959) 6 years ago
Richard van der Hoff 7ee94fc1ba Log which cache is throwing exceptions 6 years ago
Erik Johnston 3baf6e1667 Fix ExpiringCache.__len__ to be accurate 6 years ago
Erik Johnston 19dc676d1a Fix ExpiringCache.__len__ to be accurate 6 years ago
Erik Johnston fdd1a62e8d Add a five minute cache to get_destination_retry_timings 6 years ago
Erik Johnston 79eded1ae4 Make ExpiringCache slightly more performant 6 years ago
Erik Johnston 8601c24287 Fix some instances of ExpiringCache not expiring cache items 6 years ago
Richard van der Hoff 642199570c
Improve the logging when handling a federation transaction (#3904) 6 years ago
Erik Johnston 9407bcf37a Replace custom DeferredTimeoutError with defer.TimeoutError 6 years ago
Erik Johnston 6c48aa0256 Run canceller first to allow it to generate correct error 6 years ago
Erik Johnston a334e1cace Update to use new timeout function everywhere. 6 years ago
Erik Johnston 24efb2a70d Fix timeout function 6 years ago
Erik Johnston fcfe7a850d Add an awful secondary timeout to fix wedged requests 6 years ago
Erik Johnston 0a81038ea0 Add in flight real time metrics for Measure blocks 6 years ago
Erik Johnston 9e05c8d309 Change the manhole SSH key to have more bits 6 years ago
Richard van der Hoff be6527325a Fix exceptions when a connection is closed before we read the headers 6 years ago
Richard van der Hoff 55e6bdf287 Robustness fix for logcontext filter 6 years ago
Amber Brown 324525f40c
Port over enough to get some sytests running on Python 3 (#3668) 6 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 6 years ago
Richard van der Hoff 638d35ef08 Fix linearizer cancellation on twisted < 18.7 6 years ago
Amber Brown da7785147d
Python 3: Convert some unicode/bytes uses (#3569) 6 years ago
Richard van der Hoff a8cbce0ced fix invalidation 6 years ago
Richard van der Hoff f102c05856 Rewrite cache list decorator 6 years ago
Richard van der Hoff 03751a6420 Fix some looping_call calls which were broken in #3604 6 years ago
Richard van der Hoff 3d6df84658 Test and fix support for cancellation in Linearizer 6 years ago
Richard van der Hoff 7c712f95bb Combine Limiter and Linearizer 6 years ago
Richard van der Hoff 8462c26485 Improvements to the Limiter 6 years ago
Richard van der Hoff d7275eecf3 Add a sleep to the Limiter to fix stack overflows. 6 years ago
Amber Brown 95ccb6e2ec
Don't spew errors because we can't save metrics (#3563) 6 years ago
Richard van der Hoff 8c69b735e3 Make Distributor run its processes as a background process 6 years ago
Richard van der Hoff 667fba68f3 Run things as background processes 6 years ago
Erik Johnston b2aa05a8d6 Use efficient .intersection 6 years ago
Erik Johnston 547b1355d3 Fix perf regression in PR #3530 6 years ago
Richard van der Hoff 33b40d0a25 Make FederationRateLimiter queue requests properly 6 years ago
Erik Johnston 77b692e65d Don't return unknown entities in get_entities_changed 6 years ago
Richard van der Hoff fa5c2bc082 Reduce set building in get_entities_changed 6 years ago
Richard van der Hoff c3c29aa196
Attempt to include db threads in cpu usage stats (#3496) 6 years ago
Richard van der Hoff 55370331da
Refactor logcontext resource usage tracking (#3501) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Amber Brown 72d2143ea8
Revert "Revert "Try to not use as much CPU in the StreamChangeCache"" (#3454) 7 years ago
Matthew Hodgson 8057489b26
Revert "Try to not use as much CPU in the StreamChangeCache" 7 years ago
Amber Brown 1202508067 fixes 7 years ago
Amber Brown bd3d329c88 fixes 7 years ago
Amber Brown abfe4b2957 try and make loading items from the cache faster 7 years ago
Amber Brown 07cad26d65
Remove all global reactor imports & pass it around explicitly (#3424) 7 years ago
Richard van der Hoff 43e02c409d Disable partial state group caching for wildcard lookups 7 years ago
Richard van der Hoff 0495fe0035 Indirect evt_count updates via method call 7 years ago