Browse Source

filer: avoid hard-coded upload timeout

pull/1060/head
Chris Lu 5 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/url"
"strings"
"time"
)
var (
@ -25,7 +24,6 @@ func init() {
}
client = &http.Client{
Transport: Transport,
Timeout: 5 * time.Second,
}
}

Loading…
Cancel
Save