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 /changelog.d/5498.bugfix | |
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 'changelog.d/5498.bugfix')
-rw-r--r-- | changelog.d/5498.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/5498.bugfix b/changelog.d/5498.bugfix new file mode 100644 index 0000000000..6ef298d20c --- /dev/null +++ b/changelog.d/5498.bugfix @@ -0,0 +1 @@ +Fix intermittent exceptions on Apple hardware. Also fix bug that caused database activity times to be under-reported in log lines. |