increased default JS execution time to 3000 ms
This commit is contained in:
parent
a888c97033
commit
6f2c1deca8
@ -434,7 +434,7 @@ js:
|
|||||||
# Specify thread pool size for JavaScript sandbox resource monitor
|
# Specify thread pool size for JavaScript sandbox resource monitor
|
||||||
monitor_thread_pool_size: "${LOCAL_JS_SANDBOX_MONITOR_THREAD_POOL_SIZE:4}"
|
monitor_thread_pool_size: "${LOCAL_JS_SANDBOX_MONITOR_THREAD_POOL_SIZE:4}"
|
||||||
# Maximum CPU time in milliseconds allowed for script execution
|
# Maximum CPU time in milliseconds allowed for script execution
|
||||||
max_cpu_time: "${LOCAL_JS_SANDBOX_MAX_CPU_TIME:100}"
|
max_cpu_time: "${LOCAL_JS_SANDBOX_MAX_CPU_TIME:3000}"
|
||||||
# Maximum allowed JavaScript execution errors before JavaScript will be blacklisted
|
# Maximum allowed JavaScript execution errors before JavaScript will be blacklisted
|
||||||
max_errors: "${LOCAL_JS_SANDBOX_MAX_ERRORS:3}"
|
max_errors: "${LOCAL_JS_SANDBOX_MAX_ERRORS:3}"
|
||||||
# Remote JavaScript environment properties
|
# Remote JavaScript environment properties
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user