Files
codex-proxy-rs/backend/migrations/0017_unlimited_default_account_concurrency.sql
T
ZyyandCodex ef050837de fix(accounts): recover snapshot races and support unlimited concurrency (#225)
Retry account snapshot conflicts before reserving scheduling capacity.

Allow zero as an unlimited default account concurrency limit, preserving per-account overrides, lease accounting, and request intervals.

Keep connection-test diagnostics expanded within the modal scroll area.

Co-authored-by: Codex <noreply@openai.com>
2026-09-22 19:33:59 +08:00

9 lines
270 B
SQL

alter table runtime_settings
drop constraint runtime_settings_refresh_ck,
add constraint runtime_settings_refresh_ck check (
refresh_margin_seconds > 0
and refresh_concurrency > 0
and max_concurrent_per_account >= 0
and request_interval_ms >= 0
);