Skip to content

Commit

Permalink
Merge pull request #73 from k1LoW/expand-client-timeout
Browse files Browse the repository at this point in the history
Expand client timeout
  • Loading branch information
k1LoW authored Feb 15, 2021
2 parents 2e22046 + c3c8751 commit 9214193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icon/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Fetcher interface {

func Download(src, dest string) (string, error) {
client := &http.Client{
Timeout: 30 * time.Second,
Timeout: 60 * time.Second,
Transport: &http.Transport{
Dial: (&net.Dialer{
Timeout: 5 * time.Second,
Expand Down

0 comments on commit 9214193

Please sign in to comment.