Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Convert synapse.federation.transport.server to async (#5689)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
richvdh authored Jul 18, 2019
1 parent 9c70a02 commit fa8271c
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 242 deletions.
1 change: 1 addition & 0 deletions changelog.d/5689.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Convert `synapse.federation.transport.server` to `async`. Might improve some stack traces.
Loading

0 comments on commit fa8271c

Please sign in to comment.