diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-27 15:35:57 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-27 15:35:57 +0100 |
commit | b037fe7485a88e6e238b8d19571274fd19497b2a (patch) | |
tree | 3de0a5abd9b3a96e8a867fda29874fb21dcad774 /synapse/app/homeserver.py | |
parent | Include duration in output name (diff) | |
download | synapse-b037fe7485a88e6e238b8d19571274fd19497b2a.tar.xz |
Use pyinstrument
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 030e344c51..a41cd4f433 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -534,7 +534,7 @@ def run(hs): end = int(time.time()*1000) - if end - start > 10: + if end - start > 100: ident = current_thread().ident name = "/tmp/%s.%s.%i.%d-%d.%d" % ( hs.hostname, func.__name__, ident, start, end, end-start |