mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-27 21:37:00 -05:00
Don't turn on profiling
This commit is contained in:
parent
e4e33c743e
commit
9fda8b5193
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user