executionlimits

package
v0.0.0-...-820128f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package executionlimits defines fixed safety budgets for isolated MVM execution.

Index

Constants

View Source
const (
	// MaxFrameSize is the largest encoded worker protocol frame.
	MaxFrameSize = 8 << 20
	// MaxResultSize is the largest encoded evaluation value in a result frame.
	MaxResultSize = 1 << 20

	// MaxOutputSize leaves worst-case JSON escaping headroom for captured output.
	MaxOutputSize = (MaxFrameSize - MaxResultSize - responseEnvelopeBudget) / 6
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL