0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 02:03:51 +01:00
This commit is contained in:
Erik Johnston 2016-11-21 17:59:39 +00:00
parent 73dc099645
commit 51e89709aa

View file

@ -72,6 +72,8 @@ class FederationRemoteSendQueue(object):
# EVERYTHING IS SAD. In particular, python only makes new scopes when # 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 # 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): def register(name, queue):
metrics.register_callback( metrics.register_callback(
queue_name + "_size", queue_name + "_size",