mirror of
https://github.com/minio/minio
synced 2024-10-01 05:33:46 +00:00
server: update command should check for 3s from 1ms. (#2175)
Programmer error :-)
This commit is contained in:
parent
bfc59b7d50
commit
ede4dd0f9c
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue