Skip to content

Commit c0e791e

Browse files
committed
set dialer timeout as before
1 parent 389dc64 commit c0e791e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • internal/apps/ai-proxy/route/transports

internal/apps/ai-proxy/route/transports/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const (
3636

3737
// shared base dialer for all outbound connections
3838
var baseDialer = &net.Dialer{
39-
Timeout: 10 * time.Second, // Timeout for establishing a TCP connection, even when routing through proxies.
39+
Timeout: 60 * time.Second, // Timeout for establishing a TCP connection, even when routing through proxies.
4040
KeepAlive: 60 * time.Second, // Keep-alive interval to keep long-lived TCP connections reusable.
4141
}
4242

0 commit comments

Comments
 (0)