diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-06-19 21:04:58 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-06-19 21:09:43 +0100 |
commit | 15bf32e06204b99ea4758ce6ffd9bff725c74d90 (patch) | |
tree | e1a9d27ec9cdd2ded4bbebdfc9f78b31eaa4a3a4 /synapse/rest/consent/consent_resource.py | |
parent | Change to absolute path for contrib/docker (diff) | |
download | synapse-15bf32e06204b99ea4758ce6ffd9bff725c74d90.tar.xz |
Use monotonic clock where possible for metrics
Fixes intermittent errors observed on Apple hardware which were caused by time.clock() appearing to go backwards when called from different threads. Also fixes a bug where database activity times were logged as 1/1000 of their correct ratio due to confusion between milliseconds and seconds.
Diffstat (limited to 'synapse/rest/consent/consent_resource.py')
0 files changed, 0 insertions, 0 deletions