Browse Source

increased default JS execution time to 3000 ms

pull/2170/head
nordmif 7 years ago
committed by Andrew Shvayka
parent
commit
6f2c1deca8
  1. 2
      application/src/main/resources/thingsboard.yml

2
application/src/main/resources/thingsboard.yml

@ -434,7 +434,7 @@ js:
# Specify thread pool size for JavaScript sandbox resource monitor
monitor_thread_pool_size: "${LOCAL_JS_SANDBOX_MONITOR_THREAD_POOL_SIZE:4}"
# 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
max_errors: "${LOCAL_JS_SANDBOX_MAX_ERRORS:3}"
# Remote JavaScript environment properties

Loading…
Cancel
Save