1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-02 23:26:42 +02:00

filer: avoid hard-coded upload timeout

This commit is contained in:
Chris Lu 2019-09-05 01:26:59 -07:00
parent d9a997cb9e
commit 20d90dea5a

View file

@ -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,
}
}