From 14a3694a9af4032b74c830c7e89afe121b731c63 Mon Sep 17 00:00:00 2001 From: song Date: Sat, 17 Jan 2026 18:03:45 +0800 Subject: [PATCH] chore: set antigravity fallback cooldown default to 1 --- backend/internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/config/config.go b/backend/internal/config/config.go index 3bd72608..85face75 100644 --- a/backend/internal/config/config.go +++ b/backend/internal/config/config.go @@ -772,7 +772,7 @@ func setDefaults() { viper.SetDefault("gateway.failover_on_400", false) viper.SetDefault("gateway.max_account_switches", 10) viper.SetDefault("gateway.max_account_switches_gemini", 3) - viper.SetDefault("gateway.antigravity_fallback_cooldown_minutes", 5) + viper.SetDefault("gateway.antigravity_fallback_cooldown_minutes", 1) viper.SetDefault("gateway.max_body_size", int64(100*1024*1024)) viper.SetDefault("gateway.connection_pool_isolation", ConnectionPoolIsolationAccountProxy) // HTTP 上游连接池配置(针对 5000+ 并发用户优化)