mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-20 08:01:46 +00:00
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>
5 lines
230 B
SQL
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;
|