summary refs log tree commit diff
path: root/synapse/replication/tcp/streams
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-06-19 21:04:58 +0100
committerRichard van der Hoff <richard@matrix.org>2019-06-19 21:09:43 +0100
commit15bf32e06204b99ea4758ce6ffd9bff725c74d90 (patch)
treee1a9d27ec9cdd2ded4bbebdfc9f78b31eaa4a3a4 /synapse/replication/tcp/streams
parentChange to absolute path for contrib/docker (diff)
downloadsynapse-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/replication/tcp/streams')
0 files changed, 0 insertions, 0 deletions