Browse Source

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.
Yicheng Qin 10 years ago
parent
commit
1375ef8985
1 changed files with 0 additions and 1 deletions
  1. 0 1
      etcdserver/cluster_util.go

+ 0 - 1
etcdserver/cluster_util.go

@@ -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