Files
codex-proxy-rs/backend/migrations/0043_quota_reset_window_weights.sql
T
d13a4a2138 feat(scheduling): add independent quota reset window weights (#713)
Rank quota scheduling strictly by configured reset windows and persist its settings independently from smart scheduling.

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-11-14 18:13:33 +08:00

5 lines
230 B
SQL

-- 两种调度策略分别保存窗口偏好,全零沿用最早重置优先
alter table runtime_settings
add column quota_reset_window_weights_json jsonb not null
default '{"fiveHour":0,"weekly":0,"monthly":0}'::jsonb;