diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-09 14:22:52 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-09 14:22:52 +0000 |
commit | 75656712e34694460ce7b12fc5a467667e04ea21 (patch) | |
tree | d9467f8e31d7c5b26b33a062755979ba2748a456 /synapse/app/homeserver.py | |
parent | Log when we receive a request, when we send a response and how long it took t... (diff) | |
download | synapse-75656712e34694460ce7b12fc5a467667e04ea21.tar.xz |
Time how long we're spending on the database thread
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 2 |
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( |