PERIOD_PRECEDENCE
@forge/monorepo / backend/src / PERIOD_PRECEDENCE
Variable: PERIOD_PRECEDENCE
constPERIOD_PRECEDENCE: readonlyRollupPeriod[]
Defined in: backend/src/usage/quota.ts:725
The order periods are considered in, shortest first.
Shortest first because a shorter window is the tighter constraint in practice: someone with a monthly allowance who has burned it in a day is stopped by the daily limit a day earlier, and being stopped early is recoverable where a surprise at month end is not. It is a default, and a deployment that disagrees passes its own order.