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.
release-2.2
Yicheng Qin 2015-08-17 16:05:14 -07:00
parent ba3a9b5f92
commit 1375ef8985
1 changed files with 0 additions and 1 deletions

View File

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