Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ disable_profiling
Function
disable_profiling
st2common/st2common/models/utils/profiling.py:43–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
42
43
def
disable_profiling():
44
global ENABLE_PROFILING
45
ENABLE_PROFILING = False
46
return
ENABLE_PROFILING
47
48
49
def
is_enabled():
Callers
2
setUp
Method · 0.90
test_logging_profiling_is_disabled
Method · 0.90
Calls
no outgoing calls
Tested by
2
setUp
Method · 0.72
test_logging_profiling_is_disabled
Method · 0.72