summary refs log tree commit diff
path: root/synapse/appservice/scheduler.py
diff options
context:
space:
mode:
authorMatrix <matrix@matrix.org>2016-08-17 15:05:50 +0100
committerMatrix <matrix@matrix.org>2016-08-17 15:05:50 +0100
commitf7434713802aec24fde41e83f4c69fc4b8cdeb4f (patch)
treec9a67c843bd48e5f89e6058b0570ac9c572134f1 /synapse/appservice/scheduler.py
parentMove Measure block inside loop (diff)
downloadsynapse-f7434713802aec24fde41e83f4c69fc4b8cdeb4f.tar.xz
Change name of metric
Diffstat (limited to '')
-rw-r--r--synapse/appservice/scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/scheduler.py b/synapse/appservice/scheduler.py
index d46d2fead2..6450a12890 100644
--- a/synapse/appservice/scheduler.py
+++ b/synapse/appservice/scheduler.py
@@ -120,7 +120,7 @@ class _ServiceQueuer(object):
                 if not events:
                     return
 
-                with Measure(self.clock, "_ServiceQueuer._send_request"):
+                with Measure(self.clock, "servicequeuer.send"):
                     try:
                         yield self.txn_ctrl.send(service, events)
                     except: