mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-01 20:18:19 +00:00
Don't turn on profiling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user