diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-03-28 10:39:13 +0100 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-03-28 10:39:13 +0100 |
commit | a32d2548d986f7075e8310184ce0b70c69513a02 (patch) | |
tree | dbecdcf1bf55c9196423af60ebe9d2c60dda27b7 /synapse/app/homeserver.py | |
parent | count_daily_users failed if db was sqlite due to type failure - presumably th... (diff) | |
download | synapse-a32d2548d986f7075e8310184ce0b70c69513a02.tar.xz |
query and call for r30 stats
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 2 |
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 |