summary refs log tree commit diff
path: root/synapse/util/metrics.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-09-18 18:17:15 +0100
committerGitHub <noreply@github.com>2018-09-18 18:17:15 +0100
commit31c15dcb80c8f11fd03dbb9b0ccff4777dc8e457 (patch)
tree2ee45023e518888d996b2f0743bf16f2c5769f5f /synapse/util/metrics.py
parentMerge pull request #3894 from matrix-org/hs/phone_home_py_version (diff)
downloadsynapse-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 'synapse/util/metrics.py')
0 files changed, 0 insertions, 0 deletions