From 693ecd76ea30ed7ddec77bc2914605a016e96425 Mon Sep 17 00:00:00 2001 From: Neil Johnson Date: Fri, 24 May 2019 17:32:55 +0100 Subject: pedantry --- synapse/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit 1.4.1