anonymousland-synapse/changelog.d/5498.bugfix
Richard van der Hoff 15bf32e062 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.
2019-06-19 21:09:43 +01:00

2 lines
131 B
Plaintext

Fix intermittent exceptions on Apple hardware. Also fix bug that caused database activity times to be under-reported in log lines.