* schedules.ts — Time-aware quota windows for a quota pool. A schedule answers two questions the static pool allocation cannot: WHEN may OmniRoute use this account? → days + start/end minute + mode HOW MUCH may it burn while it is in there? · reservePercent — how much must be LEF
// Source: https://github.com/diegosouzapw/OmniRoute | License: MIT | Copyright 2026 diegosouzapw // Provided via justclaw.it.com; keep this notice with the code. /** * schedules.ts — Time-aware quota windows for a quota pool. * * A schedule answers two questions the static pool allocation cannot: * * WHEN may OmniRoute use this account? → days + start/end minute + mode * HOW MUCH may it burn while it is in there? * · reservePercent — how much must be LEFT on the account. Measured on the * upstream saturation signal, which covers the WHOLE account, so a human * (or another tool) sharing the same credentials always keeps that floor. * · budgetValue/budgetUnit — how much OMNIROUTE itself may consume in the * window. Measured on OmniRoute's ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key