Documentation
¶
Overview ¶
Package uploadsize defines the same payload bounds for HTTP admission and direct executor uploads. Transport envelopes have their own encoded limits.
Index ¶
Constants ¶
View Source
const ( MaxModuleBytes = 24 << 20 MaxStoredRunBytes = 32 << 20 MaxBatchRuns = 128 RowCharge = 512 )
Variables ¶
View Source
var ErrLimit = errors.New("upload size limit reached")
Functions ¶
func StoredBytes ¶
StoredBytes counts decoded WASM, base64/comma encoded argument/address columns, control/transaction text and fixed row metadata, without making a serialized payload copy. The executor's persisted queue uses this charge.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.