Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3328 from intelfx/fix-metrics-LaterGauge-usage
Browse files Browse the repository at this point in the history
federation: fix LaterGauge usage
  • Loading branch information
hawkowl authored Jun 4, 2018
2 parents a9e97dc + 7d9d75e commit 86accac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/federation/send_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, hs):
# 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",
Expand Down

0 comments on commit 86accac

Please sign in to comment.