summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-11-15 11:08:27 -0700
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-11-15 18:08:27 +0000
commit835779f7fb8e8b84c3f8e371528d6ea08d0c373f (patch)
treee45ac0bbcae1750ce3adff184c6fae733e9a38f3 /synapse/config
parentUse <meta> tags to discover the per-page encoding of html previews (#4183) (diff)
downloadsynapse-835779f7fb8e8b84c3f8e371528d6ea08d0c373f.tar.xz
Add option to track MAU stats (but not limit people) (#3830)
Diffstat (limited to 'synapse/config')
-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.
           #