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
code_spécifique_watcha
Richard van der Hoff 5 years ago committed by GitHub
parent 9c70a02a9c
commit fa8271c5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/5689.misc
  2. 430
      synapse/federation/transport/server.py

@ -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
Loading…
Cancel
Save