summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/wget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 3849c8a5a1..47b15dc030 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -88,7 +88,7 @@ class Wget(FetchMethod):
88 if not ud.localfile: 88 if not ud.localfile:
89 ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", ".")) 89 ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", "."))
90 90
91 self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30" 91 self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100"
92 92
93 if ud.type == 'ftp' or ud.type == 'ftps': 93 if ud.type == 'ftp' or ud.type == 'ftps':
94 self.basecmd += " --passive-ftp" 94 self.basecmd += " --passive-ftp"
@@ -365,7 +365,7 @@ class Wget(FetchMethod):
365 except (TypeError, ImportError, IOError, netrc.NetrcParseError): 365 except (TypeError, ImportError, IOError, netrc.NetrcParseError):
366 pass 366 pass
367 367
368 with opener.open(r, timeout=30) as response: 368 with opener.open(r, timeout=100) as response:
369 pass 369 pass
370 except urllib.error.URLError as e: 370 except urllib.error.URLError as e:
371 if try_again: 371 if try_again: