mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 05:40:58 +00:00
Comments
This commit is contained in:
parent
73dc099645
commit
51e89709aa
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ class FederationRemoteSendQueue(object):
|
|||
|
||||
# EVERYTHING IS SAD. In particular, python only makes new scopes when
|
||||
# we make a new function, so we need to make a new function so the inner
|
||||
# lambda binds to the queue rather than to the name of the queue which
|
||||
# changes. ARGH.
|
||||
def register(name, queue):
|
||||
metrics.register_callback(
|
||||
queue_name + "_size",
|
||||
|
|
Loading…
Reference in a new issue