summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorCristina <hi@xmunoz.com>2021-07-08 10:57:13 -0500
committerGitHub <noreply@github.com>2021-07-08 16:57:13 +0100
commitf6767abc054f3461cd9a70ba096fcf9a8e640edb (patch)
treef4f9efe8bd1595da5e0c2229cfa1b0483b9e501c /synapse/config
parentMinor changes to `user_daily_visits` (#10324) (diff)
downloadsynapse-f6767abc054f3461cd9a70ba096fcf9a8e640edb.tar.xz
Remove functionality associated with unused historical stats tables (#9721)
Fixes #9602
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/stats.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/synapse/config/stats.py b/synapse/config/stats.py

index 78f61fe9da..6f253e00c0 100644 --- a/synapse/config/stats.py +++ b/synapse/config/stats.py
@@ -38,13 +38,9 @@ class StatsConfig(Config): def read_config(self, config, **kwargs): self.stats_enabled = True - self.stats_bucket_size = 86400 * 1000 stats_config = config.get("stats", None) if stats_config: self.stats_enabled = stats_config.get("enabled", self.stats_enabled) - self.stats_bucket_size = self.parse_duration( - stats_config.get("bucket_size", "1d") - ) if not self.stats_enabled: logger.warning(ROOM_STATS_DISABLED_WARN) @@ -59,9 +55,4 @@ class StatsConfig(Config): # correctly. # #enabled: false - - # The size of each timeslice in the room_stats_historical and - # user_stats_historical tables, as a time period. Defaults to "1d". - # - #bucket_size: 1h """