#include <jsengine.h>
|
size_t | max_heap_bytes = Defaults::max_heap_bytes |
| heap size for QuickJS runtime
|
|
size_t | max_stack_bytes = Defaults::max_stack_bytes |
| stack size for QuickJS runtime
|
|
uint64_t | max_execution_time_ms = Defaults::max_execution_time_ms |
| max execution time for QuickJS
|
|
bool | log_exception_details = Defaults::log_exception_details |
| emit exception details to the log NOTE: this is a security risk as it may leak sensitive information to anyone with access to the application log, which is unprotected.
|
|
bool | return_exception_details = Defaults::return_exception_details |
| return exception details in the response NOTE: this is a security risk as it may leak sensitive information, albeit to the caller only.
|
|
size_t | max_cached_interpreters = Defaults::max_cached_interpreters |
| how many interpreters may be cached in-memory for future reuse
|
|
◆ log_exception_details
bool ccf::JSRuntimeOptions::log_exception_details = Defaults::log_exception_details |
emit exception details to the log NOTE: this is a security risk as it may leak sensitive information to anyone with access to the application log, which is unprotected.
◆ max_cached_interpreters
size_t ccf::JSRuntimeOptions::max_cached_interpreters = Defaults::max_cached_interpreters |
how many interpreters may be cached in-memory for future reuse
◆ max_execution_time_ms
uint64_t ccf::JSRuntimeOptions::max_execution_time_ms = Defaults::max_execution_time_ms |
max execution time for QuickJS
◆ max_heap_bytes
size_t ccf::JSRuntimeOptions::max_heap_bytes = Defaults::max_heap_bytes |
heap size for QuickJS runtime
◆ max_stack_bytes
size_t ccf::JSRuntimeOptions::max_stack_bytes = Defaults::max_stack_bytes |
stack size for QuickJS runtime
◆ return_exception_details
bool ccf::JSRuntimeOptions::return_exception_details = Defaults::return_exception_details |
return exception details in the response NOTE: this is a security risk as it may leak sensitive information, albeit to the caller only.
The documentation for this struct was generated from the following file: