0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 01:43:51 +01:00
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

1 line
131 B
Text

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