fix: 新一轮代理暂停重置重连计数并丢弃过期探测写回

This commit is contained in:
RuoJi6 committed 2026-10-31 18:58:15 +08:00
1 parent 97a4f2b236
commit d93032fbea
5 files changed
+210 -44

No files matched your search

+4 -1
View File
@@ -129,7 +129,10 @@ type Server struct {
archiveWG sync.WaitGroup
credentialWake chan struct{}
proxyReconnect proxyReconnectSupervisor
side *sideQuestionState
// proxyProbe is injectable for deterministic reconnect race tests. Production
// servers leave it nil and use probeEgress directly.
proxyProbe func(context.Context, string, string, []string, time.Duration) egressProbeResult
side *sideQuestionState
}
// provEntry is a cached provider + its config for one LLM profile id.