summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-05-24 17:32:55 +0100
committerNeil Johnson <neil@matrix.org>2019-05-24 17:32:55 +0100
commit693ecd76ea30ed7ddec77bc2914605a016e96425 (patch)
tree12bb2369723ed0a37d7d5ccadee62f296402380a
parentadd monthly active users to phonehome stats (diff)
downloadsynapse-github/neilj/mau_phonehome.tar.xz
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py

index fcea54ad9c..bf4dc48628 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py
@@ -287,7 +287,7 @@ class DataStore( from the mau figure in synapse.storage.monthly_active_users which, amongst other things, includes a 3 day grace period before a user counts. """ - thirty_days_ago = int(self._clock.time_msec()) - (30 * 1000 * 60 * 60 * 24) + thirty_days_ago = int(self._clock.time_msec()) - (1000 * 60 * 60 * 24 * 30) return self.runInteraction( "count_monthly_users", self._count_users,