server: update command should check for 3s from 1ms. (#2175)

Programmer error :-)
This commit is contained in:
Harshavardhana 2016-07-11 16:22:10 -07:00 committed by GitHub
parent bfc59b7d50
commit ede4dd0f9c

View file

@ -155,9 +155,9 @@ func getReleaseUpdate(updateURL string, noError bool) updateMessage {
Version: minioVersion,
}
// Instantiate a new client with 1 sec timeout.
// Instantiate a new client with 3 sec timeout.
client := &http.Client{
Timeout: 1 * time.Millisecond,
Timeout: 3 * time.Second,
}
// Fetch new update.