Skip to content
Snippets Groups Projects
Commit 87770300 authored by Neil Johnson's avatar Neil Johnson
Browse files

Fix msec to sec

parent 9a311adf
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,7 @@ class DataStore(RoomMemberStore, RoomStore,
def _count_r30_users(txn):
thirty_days_in_secs = 86400 * 30
now = int(self._clock.time_msec())
thirty_days_ago_in_secs = now - thirty_days_in_secs
thirty_days_ago_in_secs = now/1000 - thirty_days_in_secs
sql = """
SELECT platform, COALESCE(count(*), 0) FROM (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment