diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 13:50:58 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 13:50:58 +0100 |
commit | 09cbc3a8e9c0f494fb272cb3761024a851b3e3f8 (patch) | |
tree | a94132bb26c4d4fcec610cb6b24dffe346808a93 /synapse/storage/stats.py | |
parent | Code formatting (Black) (diff) | |
download | synapse-09cbc3a8e9c0f494fb272cb3761024a851b3e3f8.tar.xz |
Switch to milliseconds in room/user stats for consistency.
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/storage/stats.py')
-rw-r--r-- | synapse/storage/stats.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 650c0050cb..35fca1dc7b 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -64,7 +64,8 @@ class StatsStore(StateDeltasStore): Quantises a timestamp to be a multiple of the bucket size. Args: - ts (int): the timestamp to quantise, in seconds since the Unix Epoch + ts (int): the timestamp to quantise, in milliseconds since the Unix + Epoch Returns: int: a timestamp which |