| Commit message (Collapse) | Author | Files | Lines |
|
|
|
Add opentracing tags and logs for e2e keys
|
|
|
|
|
|
There's no point doing a raise_from here, because the exception is always
logged at warn with no stacktrace in the caller. Instead, let's try to give
better messages to reduce confusion.
In particular, this means that we won't log 'Failed to connect to remote
server' when we don't even attempt to connect to the remote server due to
blacklisting.
|
|
These tables are never used, so we may as well drop them.
|
|
Hopefully, this will fix a stack overflow when recovering an appservice.
The recursion here leads to a huge chain of deferred callbacks, which then
overflows the stack when the chain completes. `inlineCallbacks` makes a better
job of this if we use iteration instead.
Clean up the code a bit too, while we're there.
|
|
Update opentracing docs to use the unified 'trace' method
|
|
|
|
|
|
Also document that we are using the algorithm described in RFC2782 and
ensure we handle zero weight correctly.
|
|
Get rid of the labyrinthine `recoverer_fn` code, and clean up the startup code
(it seemed to be previously inexplicably split between
`ApplicationServiceScheduler.start` and `_Recoverer.start`).
Add some docstrings too.
|
|
|
|
|
|
|