Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/store-postgres / QUOTA_ADMISSION_DEADLINE_MS

Variable: QUOTA_ADMISSION_DEADLINE_MS

ts
const QUOTA_ADMISSION_DEADLINE_MS: 5000 = 5_000;

Defined in: packages/store-postgres/src/quota.ts:89

The default bound on one WHOLE admission path (RV506): lazy bootstrap, pool checkout, and the admission transaction together. QUOTA_LOCK_TIMEOUT_MS bounds only the lock-wait stage inside the transaction; before RV506 a call could spend that bound once at checkout and again at the lock and still not be refused. Overridable per limiter through admissionDeadlineMs.