Skip to main content

Module limits

Module limits 

Source
Expand description

Typed, operator-tunable VM-scoped runtime limits.

VmLimits is the single home for runtime bounds that operators may tune through the typed create-VM JSON config. Every field is a concrete value (not Option): the Default impls own the numbers and they are byte-identical to the historical hardcoded constants, so behavior is unchanged unless an operator overrides a config field.

Structs§

AcpLimits
HttpLimits
JsRuntimeLimits
PluginLimits
PythonLimits
ToolLimits
VmLimits
All operator-tunable VM-scoped limits. Fields are concrete values; the Default impls own the numbers and equal today’s hardcoded constants, so unset operator config leaves behavior unchanged.
WasmLimits

Constants§

DEFAULT_ACP_MAX_READ_LINE_BYTES
DEFAULT_ACP_STDOUT_BUFFER_BYTE_LIMIT
DEFAULT_JS_CAPTURED_OUTPUT_LIMIT_BYTES
DEFAULT_JS_EVENT_PAYLOAD_LIMIT_BYTES
DEFAULT_JS_STDIN_BUFFER_LIMIT_BYTES
DEFAULT_MAX_FETCH_RESPONSE_BYTES
Default cap on vm.fetch() buffered response bodies. Historically aliased to the wire frame cap; decoupled here but still validated to stay within the negotiated frame budget.
DEFAULT_PYTHON_EXECUTION_TIMEOUT_MS
DEFAULT_PYTHON_OUTPUT_BUFFER_MAX_BYTES
DEFAULT_PYTHON_VFS_RPC_TIMEOUT_MS
DEFAULT_TOOL_TIMEOUT_MS
DEFAULT_V8_IPC_MAX_FRAME_BYTES
DEFAULT_WASM_CAPTURED_OUTPUT_LIMIT_BYTES
DEFAULT_WASM_MAX_MODULE_FILE_BYTES
DEFAULT_WASM_SYNC_READ_LIMIT_BYTES
MAX_PERSISTED_MANIFEST_BYTES
MAX_PERSISTED_MANIFEST_FILE_BYTES
MAX_REGISTERED_TOOLKITS
MAX_REGISTERED_TOOLS_PER_VM
MAX_TOOLS_PER_TOOLKIT
MAX_TOOL_EXAMPLES_PER_TOOL
MAX_TOOL_EXAMPLE_INPUT_BYTES
MAX_TOOL_SCHEMA_BYTES
MAX_TOOL_TIMEOUT_MS

Functions§

vm_limits_from_config