summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-12-18 14:36:11 +0000
committerGitHub <noreply@github.com>2018-12-18 14:36:11 +0000
commit7e22cd90f53ce55af2f46b23293e0dcc869c2976 (patch)
treee3b4253a02ba1414fc0b8fd25385bfde353b2162 /synapse/app/homeserver.py
parentcreate support user (#4141) (diff)
downloadsynapse-7e22cd90f53ce55af2f46b23293e0dcc869c2976.tar.xz
ensure can report mau stats when hs.config.mau_stats_only is set (#4305)
* ensure can report mau stats when hs.config.mau_stats_only is set
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 023e32fed2..f2064f9d0c 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -537,7 +537,7 @@ def run(hs):
         )
 
     start_generate_monthly_active_users()
-    if hs.config.limit_usage_by_mau:
+    if hs.config.limit_usage_by_mau or hs.config.mau_stats_only:
         clock.looping_call(start_generate_monthly_active_users, 5 * 60 * 1000)
     # End of monthly active user settings