Commit Graph

500 Commits (59e2d2694deec13aaa0062e04b5460f978967dc1)

Author SHA1 Message Date
Richard van der Hoff 247dc1bd0b Use SystemRandom for token generation 7 years ago
Andrew Morgan caa76e6021
Remove periods from copyright headers (#5046) 7 years ago
Richard van der Hoff 329688c161
Fix disappearing exceptions in manhole. (#5035) 7 years ago
Richard van der Hoff bc5f6e1797
Add a caching layer to .well-known responses (#4516) 7 years ago
Robert Jacob 2a7f0b8953 Implement workaround for login error. 7 years ago
Amber Brown f815bd7feb
Make linearizer more quiet (#4507) 7 years ago
Richard van der Hoff 676cf2ee26
Fix incorrect logcontexts after a Deferred was cancelled (#4407) 7 years ago
Richard van der Hoff ecc23188f4
Fix UnicodeDecodeError when postgres is not configured in english (#4253) 7 years ago
Richard van der Hoff 5c445114d3
Correctly account for cpu usage by background threads (#4074) 7 years ago
Amber Brown e1728dfcbe
Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 7 years ago
Amber Brown e404ba9aac
Fix manhole on py3 (pt 2) (#4067) 7 years ago
Erik Johnston 9fafdfa97d Anchor returned regex to start and end of string 7 years ago
Erik Johnston 084046456e Add config option to control alias creation 7 years ago
Amber Brown a36b0ec195 make a bytestring 7 years ago
Erik Johnston 6982320572 Remove unnecessary extra function call layer 7 years ago
Erik Johnston 8a1817f0d2 Use errback pattern and catch async failures 7 years ago
Erik Johnston f7199e8734 Log looping call exceptions 7 years ago
Erik Johnston 4f3e3ac192 Correctly match 'dict.pop' api 7 years ago
Erik Johnston 8ea887856c Don't update eviction metrics on explicit removal 7 years ago
Richard van der Hoff 4a15a3e4d5
Include eventid in log lines when processing incoming federation transactions (#3959) 7 years ago
Richard van der Hoff 7ee94fc1ba Log which cache is throwing exceptions 7 years ago
Erik Johnston 3baf6e1667 Fix ExpiringCache.__len__ to be accurate 7 years ago
Erik Johnston 19dc676d1a Fix ExpiringCache.__len__ to be accurate 7 years ago
Erik Johnston fdd1a62e8d Add a five minute cache to get_destination_retry_timings 7 years ago
Erik Johnston 79eded1ae4 Make ExpiringCache slightly more performant 7 years ago
Erik Johnston 8601c24287 Fix some instances of ExpiringCache not expiring cache items 7 years ago
Richard van der Hoff 642199570c
Improve the logging when handling a federation transaction (#3904) 7 years ago
Erik Johnston 9407bcf37a Replace custom DeferredTimeoutError with defer.TimeoutError 7 years ago
Erik Johnston 6c48aa0256 Run canceller first to allow it to generate correct error 7 years ago
Erik Johnston a334e1cace Update to use new timeout function everywhere. 7 years ago
Erik Johnston 24efb2a70d Fix timeout function 7 years ago
Erik Johnston fcfe7a850d Add an awful secondary timeout to fix wedged requests 7 years ago
Erik Johnston 0a81038ea0 Add in flight real time metrics for Measure blocks 7 years ago
Erik Johnston 9e05c8d309 Change the manhole SSH key to have more bits 7 years ago
Richard van der Hoff be6527325a Fix exceptions when a connection is closed before we read the headers 8 years ago
Richard van der Hoff 55e6bdf287 Robustness fix for logcontext filter 8 years ago
Amber Brown 324525f40c
Port over enough to get some sytests running on Python 3 (#3668) 8 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 8 years ago
Richard van der Hoff 638d35ef08 Fix linearizer cancellation on twisted < 18.7 8 years ago
Amber Brown da7785147d
Python 3: Convert some unicode/bytes uses (#3569) 8 years ago
Richard van der Hoff a8cbce0ced fix invalidation 8 years ago
Richard van der Hoff f102c05856 Rewrite cache list decorator 8 years ago
Richard van der Hoff 03751a6420 Fix some looping_call calls which were broken in #3604 8 years ago
Richard van der Hoff 3d6df84658 Test and fix support for cancellation in Linearizer 8 years ago
Richard van der Hoff 7c712f95bb Combine Limiter and Linearizer 8 years ago
Richard van der Hoff 8462c26485 Improvements to the Limiter 8 years ago
Richard van der Hoff d7275eecf3 Add a sleep to the Limiter to fix stack overflows. 8 years ago
Amber Brown 95ccb6e2ec
Don't spew errors because we can't save metrics (#3563) 8 years ago
Richard van der Hoff 8c69b735e3 Make Distributor run its processes as a background process 8 years ago
Richard van der Hoff 667fba68f3 Run things as background processes 8 years ago