mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-28 07:50:44 +01:00
filer: avoid hard-coded upload timeout
This commit is contained in:
1 parent
d9a997cb9e
commit
20d90dea5a
1 file changed
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user