Commit Graph

7 Commits (9feb5d0b71104bea4e366d451d5dddd447e16196)

Author SHA1 Message Date
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
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
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 49af402019 run isort 6 years ago
Amber Brown 77ac14b960
Pass around the reactor explicitly (#3385) 7 years ago
Amber Brown a61738b316
Remove run_on_reactor (#3395) 7 years ago
Adrian Tschira d82b6ea9e6 Move more xrange to six 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 9d2c1b8429 Backport deferred.addTimeout 7 years ago
Richard van der Hoff 7e6fa29cb5 Remove preserve_context_over_{fn, deferred} 7 years ago
Richard van der Hoff bf993db11c Logging and logcontext fixes for Limiter 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Richard van der Hoff 2e9f5ea31a Fix logcontext handling for persist_events 7 years ago
Richard van der Hoff 4fad8efbfb Fix stackoverflow and logcontexts from linearizer 7 years ago
Richard van der Hoff 148428ce76 Fix logcontext handling for concurrently_execute 7 years ago
Erik Johnston 5b5b171f3e Docs 8 years ago
Erik Johnston 86780a8bc3 Don't convert to deferreds when not necessary 8 years ago
Erik Johnston f477370c0c Add paranoia exception catch in Linearizer 8 years ago
Mark Haines dd3df11c55 More logging for the linearizer and for get_events 8 years ago
Mark Haines 62ce3034f3 s/aquire/acquire/g 8 years ago
Mark Haines 0aff09f6c9 Add more useful logging when we block fetching events 8 years ago
Erik Johnston 64038b806c Comments 8 years ago
Erik Johnston d073cb7ead Add Limiter: limit concurrent access to resource 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 8 years ago
Erik Johnston 7335f0adda Add ReadWriteLock 9 years ago
Erik Johnston e043ede4a2 Small optimisation to CacheListDescriptor 9 years ago
Erik Johnston 95ac3078da Rename things 9 years ago
Erik Johnston ee5aef6c72 Log contexts and squash things together 9 years ago
Erik Johnston 639cd07d6d Add comment 9 years ago
Erik Johnston af03ecf352 Deduplicate joins 9 years ago
Erik Johnston 3f4eb4c924 Comment 9 years ago
Erik Johnston 8d73cd502b Add concurrently_execute function 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston 7eea3e356f Make @cached cache deferreds rather than the deferreds' values 9 years ago
Erik Johnston a68abc79fd Add comment on cancellation of observers 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 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
Erik Johnston 1c82fbd2eb Implement create_observer. 10 years ago
Erik Johnston dcf52469e8 Move time_bound_deferred into Clock 10 years ago
Erik Johnston 0e6b3e4e40 Time out HTTP federation requests 10 years ago