Bump Go to 1.27.0 #14
@@ -357,7 +357,7 @@ func newHTTPTransport() *http.Transport {
|
|||||||
DialContext: (&net.Dialer{
|
DialContext: (&net.Dialer{
|
||||||
Timeout: 10 * time.Second, // Faster connection timeout
|
Timeout: 10 * time.Second, // Faster connection timeout
|
||||||
KeepAlive: 60 * time.Second, // Longer keep-alive
|
KeepAlive: 60 * time.Second, // Longer keep-alive
|
||||||
DualStack: true, // Enable dual-stack (IPv4/IPv6)
|
// Dual-stack Happy Eyeballs is the default since Go 1.12 (DualStack is deprecated).
|
||||||
}).DialContext,
|
}).DialContext,
|
||||||
|
|
||||||
// Timeout optimizations
|
// Timeout optimizations
|
||||||
|
|||||||
Reference in New Issue
Block a user