mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
feat(gateway): 补齐号池主动探测后台任务 (#342)
- 解析 pool_advanced 主动探测开关与间隔配置 - 对齐 Python 版本的探测间隔默认值和范围限制 - 新增号池配额主动探测 worker - 支持 codex、kiro、antigravity provider - 使用 Redis 时间戳和 provider 级锁避免重复探测 - 接入 gateway 后台任务并补充测试
This commit is contained in:
@@ -27,6 +27,8 @@ mod config;
|
||||
mod db_maintenance;
|
||||
#[path = "runtime/pending_cleanup.rs"]
|
||||
mod pending_cleanup;
|
||||
#[path = "runtime/pool_quota_probe.rs"]
|
||||
mod pool_quota_probe;
|
||||
#[path = "runtime/provider_checkin.rs"]
|
||||
mod provider_checkin;
|
||||
#[path = "runtime/proxy_node_staleness.rs"]
|
||||
@@ -56,6 +58,11 @@ use audit_cleanup::*;
|
||||
use config::*;
|
||||
use db_maintenance::*;
|
||||
use pending_cleanup::*;
|
||||
pub(crate) use pool_quota_probe::{
|
||||
perform_pool_quota_probe_once, perform_pool_quota_probe_once_with_config,
|
||||
select_pool_quota_probe_key_ids, spawn_pool_quota_probe_worker, PoolQuotaProbeRunSummary,
|
||||
PoolQuotaProbeWorkerConfig,
|
||||
};
|
||||
pub(crate) use provider_checkin::{perform_provider_checkin_once, ProviderCheckinRunSummary};
|
||||
use proxy_node_staleness::*;
|
||||
use proxy_upgrade_rollout::*;
|
||||
|
||||
Reference in New Issue
Block a user