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

Commit

Permalink
federation/send_queue.py: fix usage of LaterGauge
Browse files Browse the repository at this point in the history
Fixes a startup crash due to commit df9f72d
"replacing portions".
  • Loading branch information
intelfx committed Jun 3, 2018
1 parent a9e97dc commit 7d9d75e
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 7d9d75e

Please sign in to comment.