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

Programmer error :-)
master
Harshavardhana 9 years ago committed by GitHub
parent bfc59b7d50
commit ede4dd0f9c
  1. 4
      update-main.go

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

Loading…
Cancel
Save