federation/send_queue.py: fix usage of LaterGauge

Fixes a startup crash due to commit df9f72d9e5
"replacing portions".
This commit is contained in:
Ivan Shapovalov 2018-06-03 14:14:47 +03:00
parent a9e97dcd65
commit 7d9d75e4e8

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