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 2e92117634..5bb3b2f361 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" |
| @@ -371,7 +371,7 @@ class Wget(FetchMethod): | |||
| 371 | except (FileNotFoundError, netrc.NetrcParseError): | 371 | except (FileNotFoundError, netrc.NetrcParseError): |
| 372 | pass | 372 | pass |
| 373 | 373 | ||
| 374 | with opener.open(r, timeout=30) as response: | 374 | with opener.open(r, timeout=100) as response: |
| 375 | pass | 375 | pass |
| 376 | except (urllib.error.URLError, ConnectionResetError, TimeoutError) as e: | 376 | except (urllib.error.URLError, ConnectionResetError, TimeoutError) as e: |
| 377 | if try_again: | 377 | if try_again: |
