From ede4dd0f9c5a3ccfb02ae0b8e8bbede797e55da8 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 11 Jul 2016 16:22:10 -0700 Subject: [PATCH] server: update command should check for 3s from 1ms. (#2175) Programmer error :-) --- update-main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-main.go b/update-main.go index f1582aaa0..5386ff676 100644 --- a/update-main.go +++ b/update-main.go @@ -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.