summary refs log tree commit diff
path: root/synapse/federation/send_queue.py
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2018-06-03 14:14:47 +0300
committerIvan Shapovalov <intelfx@intelfx.name>2018-06-03 14:16:17 +0300
commit7d9d75e4e80eef0f3569c57d38842c743ebd03f9 (patch)
treee4096e07bf4dcb40c2a708c8f9e50cc38f113e0e /synapse/federation/send_queue.py
parentMerge pull request #3317 from thegcat/feature/3312-add_ipv6_to_blacklist_exam... (diff)
downloadsynapse-7d9d75e4e80eef0f3569c57d38842c743ebd03f9.tar.xz
federation/send_queue.py: fix usage of LaterGauge
Fixes a startup crash due to commit df9f72d9e5fe264b86005208e0f096156eb03e4b
"replacing portions".
Diffstat (limited to 'synapse/federation/send_queue.py')
-rw-r--r--synapse/federation/send_queue.py2
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",