summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-27 15:35:57 +0100
committerErik Johnston <erik@matrix.org>2015-05-27 15:35:57 +0100
commitb037fe7485a88e6e238b8d19571274fd19497b2a (patch)
tree3de0a5abd9b3a96e8a867fda29874fb21dcad774 /synapse/app/homeserver.py
parentInclude duration in output name (diff)
downloadsynapse-b037fe7485a88e6e238b8d19571274fd19497b2a.tar.xz
Use pyinstrument
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py2
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