MatrixSynapse/synapse
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
..
_scripts
api
app
appservice
config
crypto
events
federation
groups
handlers
http
metrics
module_api
push
replication
res/templates
rest
server_notices
state
static
storage Use monotonic clock where possible for metrics 2019-06-19 21:09:43 +01:00
streams
util
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py
server.pyi
types.py
visibility.py