mirror of
https://github.com/mudler/luet.git
synced 2025-09-17 23:58:48 +00:00
Increase http timeout to 120s by default
This commit is contained in:
@@ -45,7 +45,7 @@ func NewHttpClient(r RepoData) *HttpClient {
|
||||
}
|
||||
|
||||
func NewGrabClient() *grab.Client {
|
||||
httpTimeout := 30
|
||||
httpTimeout := 120
|
||||
timeout := os.Getenv("HTTP_TIMEOUT")
|
||||
if timeout != "" {
|
||||
timeoutI, err := strconv.Atoi(timeout)
|
||||
|
Reference in New Issue
Block a user