Browse Source

filer: avoid hard-coded upload timeout

pull/1060/head
Chris Lu 6 years ago
parent
commit
20d90dea5a
  1. 2
      weed/util/http_util.go

2
weed/util/http_util.go

@ -11,7 +11,6 @@ import (
"net/http" "net/http"
"net/url" "net/url"
"strings" "strings"
"time"
) )
var ( var (
@ -25,7 +24,6 @@ func init() {
} }
client = &http.Client{ client = &http.Client{
Transport: Transport, Transport: Transport,
Timeout: 5 * time.Second,
} }
} }

Loading…
Cancel
Save