def cursor.limits.valid
import mylsm-lsm-store@0.6.0.1/src/ResourceOptions.bend as ResourceOptionsimport 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)