summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-06-04 15:35:32 +1000
committerGitHub <noreply@github.com>2018-06-04 15:35:32 +1000
commit86accac5d5c5a937e2d817938191ce13eca77f62 (patch)
treee4096e07bf4dcb40c2a708c8f9e50cc38f113e0e
parentMerge pull request #3317 from thegcat/feature/3312-add_ipv6_to_blacklist_exam... (diff)
parentfederation/send_queue.py: fix usage of LaterGauge (diff)
downloadsynapse-86accac5d5c5a937e2d817938191ce13eca77f62.tar.xz
Merge pull request #3328 from intelfx/fix-metrics-LaterGauge-usage
federation: fix LaterGauge usage
Diffstat (limited to '')
-rw-r--r--synapse/federation/send_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/send_queue.py b/synapse/federation/send_queue.py
index 3dcc629d44..9f1142b5a9 100644
--- a/synapse/federation/send_queue.py
+++ b/synapse/federation/send_queue.py
@@ -75,7 +75,7 @@ class FederationRemoteSendQueue(object):
         # changes. ARGH.
         def register(name, queue):
             LaterGauge("synapse_federation_send_queue_%s_size" % (queue_name,),
-                       "", lambda: len(queue))
+                       "", [], lambda: len(queue))
 
         for queue_name in [
             "presence_map", "presence_changed", "keyed_edu", "keyed_edu_changed",