Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / FUTURE_RATES_TOLERANCE_MS

Variable: FUTURE_RATES_TOLERANCE_MS

ts
const FUTURE_RATES_TOLERANCE_MS: 86400000 = 86_400_000;

Defined in: packages/core/src/engine/budget.ts:61

How far a ratesVerifiedAt may sit in the future before strict pricing refuses it (RV1804): one day absorbs date-only strings authored ahead of UTC and ordinary clock skew, while a typo'd year (the hazard the clamp exists for) is months out and refuses.