mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: remove getVersion timeout
The request can still time out because we have set dial timeout and read/write timeout. It increases timeout expectation from 1s to 5s, but it makes it workable in globally-deployer cluster.
This commit is contained in:
parent
ba3a9b5f92
commit
1375ef8985
@ -215,7 +215,6 @@ func isCompatibleWithVers(vers map[string]*version.Versions, local types.ID, min
|
||||
func getVersion(m *Member, tr *http.Transport) (*version.Versions, error) {
|
||||
cc := &http.Client{
|
||||
Transport: tr,
|
||||
Timeout: time.Second,
|
||||
}
|
||||
var (
|
||||
err error
|
||||
|
Loading…
x
Reference in New Issue
Block a user