dont enable silk if maintenance mode is enabled (#1941)
This commit is contained in:
parent
9f5d98bc00
commit
dc6192fb7c
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ INTERNAL_IPS = ["127.0.0.1"]
|
|||
SELF_IP = os.environ.get("SELF_IP")
|
||||
|
||||
SILK_PROFILER_ENABLED = getenv_boolean("SILK_PROFILER_ENABLED", default=False)
|
||||
if SILK_PROFILER_ENABLED:
|
||||
if SILK_PROFILER_ENABLED and not IS_IN_MAINTENANCE_MODE:
|
||||
SILK_PATH = os.environ.get("SILK_PATH", "silk/")
|
||||
SILKY_INTERCEPT_PERCENT = getenv_integer("SILKY_INTERCEPT_PERCENT", 100)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue