wget.py: use a longer timeout in checkstatus()
Wrong list, resending.
Alex
Quoted 41 lines · Alexander Kanavin via lists.openembedded.org
The addition of 30 second timeout is recent [1], and has proved not long enough with the AB server when mass-checking for sstate item availability, resulting in timeout errors with extensible SDKs[2].
[1]
https://git.yoctoproject.org/poky/commit/?id=2c46245f449d2716566ef668da0bf48f2109643a
[2]
https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/4710/steps/16/logs/stdioSigned-off-by Alexander Kanavin <[email protected]>--- bitbake/lib/bb/fetch2/wget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bitbake/lib/bb/fetch2/wget.py +1
-2@@ -366,7 +366,7 @@ class Wget(FetchMethod): except (TypeError, ImportError, IOError, netrc.NetrcParseError): pass - with opener.open(r, timeout=30) as response: + with opener.open(r, timeout=300) as response: pass except urllib.error.URLError as e: if try_again: --2.20.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161590): https://lists.openembedded.org/g/openembedded-core/message/161590
Mute This Topic: https://lists.openembedded.org/mt/89032073/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-