diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index e8b1292433..80f5ea46c7 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
| @@ -87,7 +87,7 @@ class Wget(FetchMethod): | |||
| 87 | if not ud.localfile: | 87 | if not ud.localfile: |
| 88 | ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", ".")) | 88 | ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", ".")) |
| 89 | 89 | ||
| 90 | self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30" | 90 | self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100" |
| 91 | 91 | ||
| 92 | if ud.type == 'ftp' or ud.type == 'ftps': | 92 | if ud.type == 'ftp' or ud.type == 'ftps': |
| 93 | self.basecmd += " --passive-ftp" | 93 | self.basecmd += " --passive-ftp" |
| @@ -376,7 +376,7 @@ class Wget(FetchMethod): | |||
| 376 | except (FileNotFoundError, netrc.NetrcParseError): | 376 | except (FileNotFoundError, netrc.NetrcParseError): |
| 377 | pass | 377 | pass |
| 378 | 378 | ||
| 379 | with opener.open(r, timeout=30) as response: | 379 | with opener.open(r, timeout=100) as response: |
| 380 | pass | 380 | pass |
| 381 | except (urllib.error.URLError, ConnectionResetError, TimeoutError) as e: | 381 | except (urllib.error.URLError, ConnectionResetError, TimeoutError) as e: |
| 382 | if try_again: | 382 | if try_again: |
