summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-03-28 10:39:13 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-03-28 10:39:13 +0100
commita32d2548d986f7075e8310184ce0b70c69513a02 (patch)
treedbecdcf1bf55c9196423af60ebe9d2c60dda27b7 /synapse/app
parentcount_daily_users failed if db was sqlite due to type failure - presumably th... (diff)
downloadsynapse-a32d2548d986f7075e8310184ce0b70c69513a02.tar.xz
query and call for r30 stats
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index c00afbba28..8bce9f1ace 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -425,6 +425,8 @@ def run(hs):
         stats["daily_active_rooms"] = yield hs.get_datastore().count_daily_active_rooms()
         stats["daily_messages"] = yield hs.get_datastore().count_daily_messages()
 
+        stats["r30_users"] = yield hs.get_datastore().count_r30_users()
+
         daily_sent_messages = yield hs.get_datastore().count_daily_sent_messages()
         stats["daily_sent_messages"] = daily_sent_messages