Merge pull request #3328 from intelfx/fix-metrics-LaterGauge-usage

federation: fix LaterGauge usage
This commit is contained in:
Amber Brown 2018-06-04 15:35:32 +10:00 committed by GitHub
commit 86accac5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",