summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-19 15:33:10 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-19 15:33:10 +0100
commitd4b3e49c8168aa9c33faa80993e525b587c80243 (patch)
tree5f574bcf64523751c27b2f27e5f40ccd98541422
parentTear out current room & user statistics. (diff)
downloadsynapse-rei/rss_inc1.tar.xz
Black is back with more linting complaints github/rei/rss_inc1 rei/rss_inc1
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index 38a7fa71d9..123c1ae220 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -44,15 +44,9 @@ class StatsStore(StateDeltasStore):
         self.stats_enabled = hs.config.stats_enabled
         self.stats_bucket_size = hs.config.stats_bucket_size
 
-        self.register_noop_background_update(
-            "populate_stats_createtables"
-        )
-        self.register_noop_background_update(
-            "populate_stats_process_rooms"
-        )
-        self.register_noop_background_update(
-            "populate_stats_cleanup"
-        )
+        self.register_noop_background_update("populate_stats_createtables")
+        self.register_noop_background_update("populate_stats_process_rooms")
+        self.register_noop_background_update("populate_stats_cleanup")
 
     def update_room_state(self, room_id, fields):
         """