Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/store-sqlite / SqliteAdmissionSchedulerOptions

Interface: SqliteAdmissionSchedulerOptions

Defined in: packages/store-sqlite/src/admission.ts:31

Properties

PropertyTypeDescriptionDefined in
configOmit<MemoryAdmissionOptions, "state" | "now">The admission configuration (levels, weights, lease ttl).packages/store-sqlite/src/admission.ts:35
now?() => numberInjectable clock for tests; default the wall clock.packages/store-sqlite/src/admission.ts:39
pathstringDatabase file path; ':memory:' is single-process only.packages/store-sqlite/src/admission.ts:33
schedulerId?stringSeveral schedulers may share one file under distinct ids.packages/store-sqlite/src/admission.ts:37