summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-15 10:49:10 +0100
committerErik Johnston <erik@matrix.org>2017-06-15 10:49:10 +0100
commit5ddd199870e4ecaa60541779f8aa64bce4ca95cd (patch)
treea76ddcccf317b0e1c3077f42d1a03cd3f47b583e /synapse
parentAdd some more stats (diff)
downloadsynapse-5ddd199870e4ecaa60541779f8aa64bce4ca95cd.tar.xz
Typo
Diffstat (limited to 'synapse')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 6af8259be0..081e7cce59 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -415,7 +415,9 @@ def run(hs):
         stats["timestamp"] = now
         stats["uptime_seconds"] = uptime
         stats["total_users"] = yield hs.get_datastore().count_all_users()
-        stats["total_users"] = yield hs.get_datastore().count_nonbridged_users()
+
+        total_nonbridged_users = yield hs.get_datastore().count_nonbridged_users()
+        stats["total_nonbridged_users"] = total_nonbridged_users
 
         room_count = yield hs.get_datastore().get_room_count()
         stats["total_room_count"] = room_count