Commit 6f2c1deca87f13c32d2dd60e446b5cc4e6dd4098
Committed by
Andrew Shvayka
1 parent
a888c970
increased default JS execution time to 3000 ms
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -434,7 +434,7 @@ js: | @@ -434,7 +434,7 @@ js: | ||
434 | # Specify thread pool size for JavaScript sandbox resource monitor | 434 | # Specify thread pool size for JavaScript sandbox resource monitor |
435 | monitor_thread_pool_size: "${LOCAL_JS_SANDBOX_MONITOR_THREAD_POOL_SIZE:4}" | 435 | monitor_thread_pool_size: "${LOCAL_JS_SANDBOX_MONITOR_THREAD_POOL_SIZE:4}" |
436 | # Maximum CPU time in milliseconds allowed for script execution | 436 | # Maximum CPU time in milliseconds allowed for script execution |
437 | - max_cpu_time: "${LOCAL_JS_SANDBOX_MAX_CPU_TIME:100}" | 437 | + max_cpu_time: "${LOCAL_JS_SANDBOX_MAX_CPU_TIME:3000}" |
438 | # Maximum allowed JavaScript execution errors before JavaScript will be blacklisted | 438 | # Maximum allowed JavaScript execution errors before JavaScript will be blacklisted |
439 | max_errors: "${LOCAL_JS_SANDBOX_MAX_ERRORS:3}" | 439 | max_errors: "${LOCAL_JS_SANDBOX_MAX_ERRORS:3}" |
440 | # Remote JavaScript environment properties | 440 | # Remote JavaScript environment properties |