diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-04 15:35:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 15:35:32 +1000 |
commit | 86accac5d5c5a937e2d817938191ce13eca77f62 (patch) | |
tree | e4096e07bf4dcb40c2a708c8f9e50cc38f113e0e | |
parent | Merge pull request #3317 from thegcat/feature/3312-add_ipv6_to_blacklist_exam... (diff) | |
parent | federation/send_queue.py: fix usage of LaterGauge (diff) | |
download | synapse-86accac5d5c5a937e2d817938191ce13eca77f62.tar.xz |
Merge pull request #3328 from intelfx/fix-metrics-LaterGauge-usage
federation: fix LaterGauge usage
-rw-r--r-- | synapse/federation/send_queue.py | 2 |
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", |