diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-09-05 01:26:59 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-09-05 01:26:59 -0700 |
| commit | 20d90dea5a04c815319c375e5c69e9bdecbca633 (patch) | |
| tree | b52d237887e8c0b70c8c4ee898d310822cb4d406 | |
| parent | d9a997cb9e57bcb858d31d91f1c62c362515166f (diff) | |
| download | seaweedfs-20d90dea5a04c815319c375e5c69e9bdecbca633.tar.xz seaweedfs-20d90dea5a04c815319c375e5c69e9bdecbca633.zip | |
filer: avoid hard-coded upload timeout
| -rw-r--r-- | weed/util/http_util.go | 2 |
1 files changed, 0 insertions, 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, } } |
