MilanoLimits

data class MilanoLimits(val maxTreeDepth: Int = 32, val maxNodeCount: Int, val maxDocumentBytes: Int, val maxExpressionLength: Int, val maxValueSize: Int)

Resource limits; safe defaults fixed by the document model spec, adjustable per engine.

Constructors

Link copied to clipboard
constructor(maxTreeDepth: Int = 32, maxNodeCount: Int, maxDocumentBytes: Int, maxExpressionLength: Int, maxValueSize: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The largest value that may enter state or context, at the gate and at runtime, in the document model's units: one per scalar, one per Unicode scalar of a string, one plus the contents for an array or a record (MilanoValue.size).