mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-07 21:42:00 +00:00
federation/send_queue.py: fix usage of LaterGauge
Fixes a startup crash due to commit df9f72d9e5
"replacing portions".
This commit is contained in:
parent
a9e97dcd65
commit
7d9d75e4e8
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user