Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Neilj/mau tracking config explainer #5284

Merged
merged 13 commits into from
Jun 5, 2019
1 change: 1 addition & 0 deletions changelog.d/5284.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve sample config for monthly active user blocking.
7 changes: 7 additions & 0 deletions synapse/config/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,13 @@ def default_config(self, server_name, data_dir_path, **kwargs):
#hs_disabled_limit_type: 'error code(str), to help clients decode reason'

# Monthly Active User Blocking
# Used in cases where the admin or server owner wants to limit to the
neilisfragile marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

# number of monthly active users.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you document what happens when the limit is hit?

# 'mau_trial_days' is means to add a grace period for active users. It
neilisfragile marked this conversation as resolved.
Show resolved Hide resolved
# means that users must be active for this number of days before they
# can be considered active and guards against the case where lots of users
# sign up in a short space of time never to return after their initial
# session.
#
#limit_usage_by_mau: False
#max_mau_value: 50
Expand Down