summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-09 14:22:52 +0000
committerErik Johnston <erik@matrix.org>2015-02-09 14:22:52 +0000
commit75656712e34694460ce7b12fc5a467667e04ea21 (patch)
treed9467f8e31d7c5b26b33a062755979ba2748a456 /synapse/app/homeserver.py
parentLog when we receive a request, when we send a response and how long it took t... (diff)
downloadsynapse-75656712e34694460ce7b12fc5a467667e04ea21.tar.xz
Time how long we're spending on the database thread
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 0f175ec3f4..8976ff2e82 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -274,6 +274,8 @@ def setup():
 
     hs.get_pusherpool().start()
 
+    hs.get_datastore().start_profiling()
+
     if config.daemonize:
         print config.pid_file
         daemon = Daemonize(