mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 03:09:50 +08:00
feat(gateway): 补齐号池主动探测后台任务 (#342)
- 解析 pool_advanced 主动探测开关与间隔配置 - 对齐 Python 版本的探测间隔默认值和范围限制 - 新增号池配额主动探测 worker - 支持 codex、kiro、antigravity provider - 使用 Redis 时间戳和 provider 级锁避免重复探测 - 接入 gateway 后台任务并补充测试
This commit is contained in:
@@ -37,6 +37,8 @@ pub(crate) struct AdminProviderPoolConfig {
|
||||
pub(crate) rate_limit_cooldown_seconds: u64,
|
||||
pub(crate) overload_cooldown_seconds: u64,
|
||||
pub(crate) health_policy_enabled: bool,
|
||||
pub(crate) probing_enabled: bool,
|
||||
pub(crate) probing_interval_minutes: u64,
|
||||
pub(crate) stream_timeout_threshold: u64,
|
||||
pub(crate) stream_timeout_window_seconds: u64,
|
||||
pub(crate) stream_timeout_cooldown_seconds: u64,
|
||||
|
||||
Reference in New Issue
Block a user