mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 20:47:55 +08:00
filer: avoid hard-coded upload timeout
This commit is contained in:
@@ -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,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user