diff --git a/changelog.d/4305.bugfix b/changelog.d/4305.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..499fb8207766b1180d9dc8af9c504888fd8b184f --- /dev/null +++ b/changelog.d/4305.bugfix @@ -0,0 +1 @@ +The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 023e32fed29a7b6aa91c974c069cf144b0c47dcf..f2064f9d0ccf3a1e8a23a5be00e45ed685e68859 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