mirror of
https://github.com/minio/minio.git
synced 2025-02-03 09:55:59 -05: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…
x
Reference in New Issue
Block a user