diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-09-18 18:17:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 18:17:15 +0100 |
commit | 31c15dcb80c8f11fd03dbb9b0ccff4777dc8e457 (patch) | |
tree | 2ee45023e518888d996b2f0743bf16f2c5769f5f /tests/api/__init__.py | |
parent | Merge pull request #3894 from matrix-org/hs/phone_home_py_version (diff) | |
download | synapse-31c15dcb80c8f11fd03dbb9b0ccff4777dc8e457.tar.xz |
Refactor matrixfederationclient to fix logging (#3906)
We want to wait until we have read the response body before we log the request as complete, otherwise a confusing thing happens where the request appears to have completed, but we later fail it. To do this, we factor the salient details of a request out to a separate object, which can then keep track of the txn_id, so that it can be logged.
Diffstat (limited to 'tests/api/__init__.py')
0 files changed, 0 insertions, 0 deletions