0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 23:23:50 +01:00

Don't turn on profiling

This commit is contained in:
Erik Johnston 2016-01-26 18:27:23 +00:00
parent e4e33c743e
commit 9fda8b5193

View file

@ -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