defaults/config.yaml: timeout at 30s by default (#50002)

Fetching generated tarballs from github.com sometimes takes pauses for
more than 10 seconds, when the server is slow to put together the next
bits of the tarball. Default to 30s to avoid that issue.
This commit is contained in:
Harmen Stoppels 2025-04-10 13:06:22 +02:00 committed by GitHub
parent c5e5ed3a3b
commit 8885f6b861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,10 +90,9 @@ config:
misc_cache: $user_cache_path/cache
# Timeout in seconds used for downloading sources etc. This only applies
# to the connection phase and can be increased for slow connections or
# servers. 0 means no timeout.
connect_timeout: 10
# Abort downloads after this many seconds if not data is received.
# Setting this to 0 will disable the timeout.
connect_timeout: 30
# If this is false, tools like curl that use SSL will not verify