summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/http')
-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
         )