Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / AdmissionLevelConfig

Interface: AdmissionLevelConfig

Defined in: packages/core/dist/index.d.ts

Properties

PropertyTypeDescriptionDefined in
algorithm"sliding-window" | "token-bucket"-packages/core/dist/index.d.ts
capWiresnumberTotal wires capacity: the feasibility bound and the cap.packages/core/dist/index.d.ts
concurrency?numberLevel-2 only: the per provider account concurrency semaphore.packages/core/dist/index.d.ts
emergencyReserveFraction?numberFraction of capWires only emergency work may take (section 4.2).packages/core/dist/index.d.ts
refillWiresPerSecond?numberToken bucket refill (wires per second); burst = capWires.packages/core/dist/index.d.ts
slots?number-packages/core/dist/index.d.ts
windowMs?numberSliding window geometry (default 60000 ms over 6 slots).packages/core/dist/index.d.ts