mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 06:32:54 +00:00
Don't turn on profiling
This commit is contained in:
1 parent
e4e33c743e
commit
9fda8b5193
1 file changed
+1
-1
@@ -642,7 +642,7 @@ def _resource_id(resource, path_seg):
|
||||
|
||||
|
||||
def run(hs):
|
||||
PROFILE_SYNAPSE = True
|
||||
PROFILE_SYNAPSE = False
|
||||
if PROFILE_SYNAPSE:
|
||||
def profile(func):
|
||||
from cProfile import Profile
|
||||
|
||||
Reference in new issue
Block a user