summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-11-28 12:21:18 +0000
committerNeil Johnson <neil@matrix.org>2018-11-28 12:21:18 +0000
commit66c4fec6130375ee5cc0da072f2e598949de78f6 (patch)
treea85934efda6861c3d571de81e04a79729a812563 /synapse/app
parentadd in missing @defer.inlineCallbacks to test_auto_create_auto_join_where_no_... (diff)
downloadsynapse-66c4fec6130375ee5cc0da072f2e598949de78f6.tar.xz
Fix synapse_admin_mau:current metric is not updating when config.mau_stats_only is True
Diffstat (limited to 'synapse/app')
-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 3e4dea2f19..1537058779 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -549,7 +549,7 @@ def run(hs):
         )
 
     start_generate_monthly_active_users()
-    if hs.config.limit_usage_by_mau:
+    if hs.config.limit_usage_by_mau or or hs.config.mau_stats_only:
         clock.looping_call(start_generate_monthly_active_users, 5 * 60 * 1000)
     # End of monthly active user settings