summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-11-20 11:03:35 +0000
committerRichard van der Hoff <richard@matrix.org>2018-11-20 11:03:35 +0000
commit28e28a1974d89fc3cdf06cae36a3ebc16e2ff504 (patch)
treefebd9f48f5212fd0762f8f72bbbf28c954905fbe /synapse/config/server.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentMerge remote-tracking branch 'origin/master' into develop (diff)
downloadsynapse-28e28a1974d89fc3cdf06cae36a3ebc16e2ff504.tar.xz
Merge branch 'develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py

index c1c7c0105e..5ff9ac288d 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py
@@ -77,6 +77,7 @@ class ServerConfig(Config): self.max_mau_value = config.get( "max_mau_value", 0, ) + self.mau_stats_only = config.get("mau_stats_only", False) self.mau_limits_reserved_threepids = config.get( "mau_limit_reserved_threepids", [] @@ -372,6 +373,11 @@ class ServerConfig(Config): # max_mau_value: 50 # mau_trial_days: 2 # + # If enabled, the metrics for the number of monthly active users will + # be populated, however no one will be limited. If limit_usage_by_mau + # is true, this is implied to be true. + # mau_stats_only: False + # # Sometimes the server admin will want to ensure certain accounts are # never blocked by mau checking. These accounts are specified here. #