summary refs log tree commit diff
path: root/synapse/app
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/app
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/app')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 415374a2ce..3e4dea2f19 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -535,7 +535,7 @@ def run(hs):
         current_mau_count = 0
         reserved_count = 0
         store = hs.get_datastore()
-        if hs.config.limit_usage_by_mau:
+        if hs.config.limit_usage_by_mau or hs.config.mau_stats_only:
             current_mau_count = yield store.get_monthly_active_count()
             reserved_count = yield store.get_registered_reserved_users_count()
         current_mau_gauge.set(float(current_mau_count))