mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 00:19:26 -05: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
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 New Issue
Block a user