Convert synapse.federation.transport.server to async (#5689)

* Convert BaseFederationServlet._wrap to async

Empirically, this fixes some lost stacktraces. It should be safe because the
wrapped function is called from JsonResource._async_render, which is already
async.

* Convert the rest of synapse.federation.transport.server to async

We may as well do the whole file while we're here.

* changelog

* flake8
This commit is contained in:
Richard van der Hoff 2019-07-18 11:46:47 +01:00 committed by GitHub
parent 9c70a02a9c
commit fa8271c5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 189 additions and 242 deletions

1
changelog.d/5689.misc Normal file
View File

@ -0,0 +1 @@
Convert `synapse.federation.transport.server` to `async`. Might improve some stack traces.

File diff suppressed because it is too large Load Diff