mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-07 00:16:57 +00:00
Don't turn on profiling
This commit is contained in:
parent
0487c9441f
commit
f93ecf8783
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,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
|
||||
|
|
Loading…
Add table
Reference in a new issue