Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af3d65 commit b11ccc7Copy full SHA for b11ccc7
http/controller/download.go
@@ -142,7 +142,7 @@ func (DownloadController) AddNewDownload(ctx echo.Context) error {
142
143
func (DownloadController) headWithTimeout(dlUrl string) (*http.Response, error) {
144
client := http.Client{
145
- Timeout: 2 * time.Second,
+ Timeout: 5 * time.Second,
146
}
147
148
return client.Head(dlUrl)
0 commit comments