Verified Commit 37751919 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

lib/download: extend connection timeout to ten minutes

This should increase reliability on unstable network connection.

One minute was was way short as it looks like. Ten minutes should be
better, hopefully not the other way around (too long).
parent 3823547d
Pipeline #71274 failed with stages
in 8 minutes and 53 seconds
......@@ -213,7 +213,7 @@ void downloader_flush(struct downloader *d) {
void download_opts_def(struct download_opts *opts) {
opts->timeout = 3600; // one hour
opts->connect_timeout = 60; // one minute
opts->connect_timeout = 600; // ten minutes
opts->follow_redirect = true;
opts->ssl_verify = true;
opts->ocsp = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment