mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-11 12:31:58 +01:00
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
This commit is contained in:
parent
d2f7c4e6b1
commit
7e22cd90f5
2 changed files with 2 additions and 1 deletions
1
changelog.d/4305.bugfix
Normal file
1
changelog.d/4305.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True
|
|
@ -537,7 +537,7 @@ def run(hs):
|
||||||
)
|
)
|
||||||
|
|
||||||
start_generate_monthly_active_users()
|
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)
|
clock.looping_call(start_generate_monthly_active_users, 5 * 60 * 1000)
|
||||||
# End of monthly active user settings
|
# End of monthly active user settings
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue