mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
re-use remote transports in Peer,Storage,Locker clients (#10788)
use one transport for internode communication
This commit is contained in:
@@ -18,6 +18,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"crypto/x509"
|
||||
"net/http"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
@@ -275,6 +276,8 @@ var (
|
||||
|
||||
globalProxyEndpoints []ProxyEndpoint
|
||||
|
||||
globalInternodeTransport http.RoundTripper
|
||||
|
||||
globalDNSCache *xhttp.DNSCache
|
||||
// Add new variable global values here.
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user