mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
reduce timeouts between servers for faster disconnects (#10562)
This commit is contained in:
@@ -883,7 +883,7 @@ func newPeerRESTClient(peer *xnet.Host) *peerRESTClient {
|
||||
}
|
||||
}
|
||||
|
||||
trFn := newInternodeHTTPTransport(tlsConfig, rest.DefaultRESTTimeout)
|
||||
trFn := newInternodeHTTPTransport(tlsConfig, 10*time.Second)
|
||||
restClient := rest.NewClient(serverURL, trFn, newAuthToken)
|
||||
|
||||
// Construct a new health function.
|
||||
|
||||
Reference in New Issue
Block a user