def cursor.limits.valid

mylsm-lsm-store@0.6.0.1 · src/ResourceOptions.bend:219

import mylsm-lsm-store@0.6.0.1/src/ResourceOptions.bend as ResourceOptions
import Base

219def cursor.limits.valid(+cursors: U32,
220  +cursors_per_snapshot: U32) -> Bool:
221  bounded(cursors, 4096) &&
222    bounded(cursors_per_snapshot, 64) &&
223    U32.is_le(cursors_per_snapshot, cursors)

Uses (5)

Used by (1)