summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-09-22 13:47:40 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-09-22 13:47:40 +0100
commit6d59ffe1ce9a821d50d491f97bf05950198f6f53 (patch)
tree2324815f78ea2fe5eebe29472ca5d169dd274953 /synapse/storage/__init__.py
parentCatch stats-reporting errors (diff)
downloadsynapse-6d59ffe1ce9a821d50d491f97bf05950198f6f53.tar.xz
Add some docstrings
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py

index b64c90d631..340e59afcb 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py
@@ -128,6 +128,9 @@ class DataStore(RoomMemberStore, RoomStore, @defer.inlineCallbacks def count_daily_users(self): + """ + Counts the number of users who used this homeserver in the last 24 hours. + """ def _count_users(txn): txn.execute( "SELECT COUNT(DISTINCT user_id) AS users"