Commit Graph

63 Commits (59e2d2694deec13aaa0062e04b5460f978967dc1)

Author SHA1 Message Date
Robert Jacob 2a7f0b8953 Implement workaround for login error. 7 years ago
Richard van der Hoff 5c445114d3
Correctly account for cpu usage by background threads (#4074) 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 be6527325a Fix exceptions when a connection is closed before we read the headers 7 years ago
Richard van der Hoff 55e6bdf287 Robustness fix for logcontext filter 7 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 8 years ago
Amber Brown 95ccb6e2ec
Don't spew errors because we can't save metrics (#3563) 8 years ago
Richard van der Hoff c3c29aa196
Attempt to include db threads in cpu usage stats (#3496) 8 years ago
Richard van der Hoff 55370331da
Refactor logcontext resource usage tracking (#3501) 8 years ago
Amber Brown 49af402019 run isort 8 years ago
Richard van der Hoff 0495fe0035 Indirect evt_count updates via method call 8 years ago
Richard van der Hoff b088aafcae Log number of events fetched from DB 8 years ago
Amber Brown 3ef5cd74a6 update to more consistently use seconds in any metrics or logging 8 years ago
Erik Johnston 7948ecf234 Comment 8 years ago
Erik Johnston 020377a550 Fix logcontext resource usage tracking 8 years ago
Richard van der Hoff f22e7cda2c Fix a class of logcontext leaks 8 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 8 years ago
Richard van der Hoff 13843f771e Trap exceptions thrown within run_in_background 8 years ago
Richard van der Hoff 9255a6cb17 Improve exception handling for background processes 8 years ago
Adrian Tschira f63ff73c7f add __bool__ alias to __nonzero__ methods 8 years ago
Richard van der Hoff 5a6e54264d Make 'unexpected logging context' into warnings 8 years ago
Richard van der Hoff 20f40348d4 Factor run_in_background out from preserve_fn 8 years ago
Richard van der Hoff 3a75de923b Rewrite make_deferred_yieldable avoiding inlineCallbacks 8 years ago
Richard van der Hoff 3d12d97415 Track DB scheduling delay per-request 8 years ago
Richard van der Hoff 6324b65f08 Track db txn time in millisecs 8 years ago
Richard van der Hoff 44a498418c Optimise LoggingContext creation and copying 8 years ago
Richard van der Hoff b2cd6accf5 Remove __PreservingContextDeferred too 8 years ago
Richard van der Hoff 7e6fa29cb5 Remove preserve_context_over_{fn, deferred} 8 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 8 years ago
Richard van der Hoff e2eebf1696 Fix fixme in preserve_fn 9 years ago
Erik Johnston b282fe7170 Revert log context change 9 years ago
Erik Johnston 86780a8bc3 Don't convert to deferreds when not necessary 9 years ago
Richard van der Hoff f9b4bb05e0 Fix the logcontext handling in the cache wrappers (#2077) 9 years ago
Richard van der Hoff f40c2db05a Stop preserve_fn leaking context into the reactor 9 years ago
Richard van der Hoff d2d146a314 Logcontext docs 9 years ago
Richard van der Hoff b5d1c68beb Implement reset_context_after_deferred 9 years ago
Erik Johnston 9219139351 Preserve some logcontexts 10 years ago
Erik Johnston ca8abfbf30 Clean up TransactionQueue 10 years ago
Erik Johnston 4eb8f9ca8a Remove comment 10 years ago
Erik Johnston 00c9ad49df s/parent_context/previous_context/ 10 years ago
Erik Johnston 9777c5f49a Set parent context on instansiation 10 years ago
Erik Johnston 3e2fcd67b2 Don't bother copying records on parent context 10 years ago
Erik Johnston c486b7b41c Change logcontext warns to debug 10 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 10 years ago
Erik Johnston d4f72a5bfb Allowing tagging log contexts 10 years ago
Matthew Hodgson 6c28ac260c copyrights 10 years ago
Mark Haines 6a5ff5f223 Track the time spent in the database per request. 10 years ago
Mark Haines 3dd1630848 Add a setter for the current log context. 10 years ago
Mark Haines 5231737369 Add comments to explain why we are hardcoding RUSAGE_THREAD 10 years ago
Mark Haines d6059bdd2a Fix warnings 10 years ago