mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 06:51:46 +01:00
Merge pull request #3328 from intelfx/fix-metrics-LaterGauge-usage
federation: fix LaterGauge usage
This commit is contained in:
commit
86accac5d5
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class FederationRemoteSendQueue(object):
|
||||||
# changes. ARGH.
|
# changes. ARGH.
|
||||||
def register(name, queue):
|
def register(name, queue):
|
||||||
LaterGauge("synapse_federation_send_queue_%s_size" % (queue_name,),
|
LaterGauge("synapse_federation_send_queue_%s_size" % (queue_name,),
|
||||||
"", lambda: len(queue))
|
"", [], lambda: len(queue))
|
||||||
|
|
||||||
for queue_name in [
|
for queue_name in [
|
||||||
"presence_map", "presence_changed", "keyed_edu", "keyed_edu_changed",
|
"presence_map", "presence_changed", "keyed_edu", "keyed_edu_changed",
|
||||||
|
|
Loading…
Reference in a new issue