summary refs log tree commit diff
path: root/synapse/http/server.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-04-28 15:10:14 +0100
committerMark Haines <mark.haines@matrix.org>2016-04-28 15:11:06 +0100
commitdcfc10b12995f4f3f5d751093f3be04e15c66f65 (patch)
tree581c5e8a3c903628376f236c5f276e178a7296e8 /synapse/http/server.py
parentfix typo (diff)
downloadsynapse-dcfc10b12995f4f3f5d751093f3be04e15c66f65.tar.xz
Fix typo in request metrics
Diffstat (limited to 'synapse/http/server.py')
-rw-r--r--synapse/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index 29241fa145..35ec01678f 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -317,7 +317,7 @@ class RequestMetrics(object):
         incoming_requests_counter.inc(request.method, servlet_classname, tag)
 
         response_timer.inc_by(
-            self.clock.time_msec() - start, request.method,
+            clock.time_msec() - self.start, request.method,
             servlet_classname, tag
         )