Skip to content

Commit

Permalink
Merge branch 'master' into feature/sp-prometheus-remote-rw
Browse files Browse the repository at this point in the history
  • Loading branch information
XSHui authored Feb 19, 2021
2 parents 8b7fcaa + 8ecc546 commit 174316a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/repository/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@ func (l *httpMirror) Download(resource, targetDir string) error {
return nil
}
return r.Close()
}, utils.RetryOption{
Timeout: time.Hour,
Attempts: 3,
})
if err != nil {
return err
Expand Down

0 comments on commit 174316a

Please sign in to comment.