From 20d90dea5a04c815319c375e5c69e9bdecbca633 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 5 Sep 2019 01:26:59 -0700 Subject: [PATCH] filer: avoid hard-coded upload timeout --- weed/util/http_util.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/weed/util/http_util.go b/weed/util/http_util.go index a465a7b7f..79a442a56 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -11,7 +11,6 @@ import ( "net/http" "net/url" "strings" - "time" ) var ( @@ -25,7 +24,6 @@ func init() { } client = &http.Client{ Transport: Transport, - Timeout: 5 * time.Second, } }