diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-05-22 17:32:57 -0500 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-05-22 17:32:57 -0500 |
commit | 53cc2cde1f609ec34a4ce6a7c678302c65ddfe53 (patch) | |
tree | 10aef6af981f9dceed0d6c3fde9b339623b03879 /synapse/federation | |
parent | cleanup pep8 errors (diff) | |
download | synapse-53cc2cde1f609ec34a4ce6a7c678302c65ddfe53.tar.xz |
cleanup
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/send_queue.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/federation/send_queue.py b/synapse/federation/send_queue.py index e6e1888f3a..c7ed465617 100644 --- a/synapse/federation/send_queue.py +++ b/synapse/federation/send_queue.py @@ -74,9 +74,8 @@ class FederationRemoteSendQueue(object): # lambda binds to the queue rather than to the name of the queue which # changes. ARGH. def register(name, queue): - LaterGauge("synapse_federation_send_queue_%s_size" % (queue_name,), "", - lambda: len(queue), - ) + LaterGauge("synapse_federation_send_queue_%s_size" % (queue_name,), + "", lambda: len(queue)) for queue_name in [ "presence_map", "presence_changed", "keyed_edu", "keyed_edu_changed", |