debian/*/build-deb.sh: add curl timeouts (10s connect, 600s total, 3 retries)
Without timeouts, a slow/dead-TCP upstream (e.g. github tarballs) hangs the runner indefinitely. Today run 15185 mpv-fourier-debian sat 6+ min on "curl -sSLfo mpv.tar.gz https://github.com/.../mpv-0.41.0.tar.gz" with no progress visible — fermis act_runner blocked, slot unusable for parallel work. --connect-timeout 10 fails fast if upstream is unreachable --max-time 600 caps worst-case at 10 min per fetch --retry 3 handles transient flakes --retry-delay 5 gives transient outages a moment Patched in: claude-his-agent, daedalus-v4l2, daedalus-v4l2-dkms, libva-v4l2-request-fourier, lmcp, mpv-fourier. ffmpeg-v4l2-request-fourier has no curl call.
This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ work=$(mktemp -d)
|
||||
trap "rm -rf $work" EXIT
|
||||
|
||||
cd "$work"
|
||||
curl -sSLfo his.tar.gz \
|
||||
curl --connect-timeout 10 --max-time 600 --retry 3 --retry-delay 5 -sSLfo his.tar.gz \
|
||||
"https://git.reauktion.de/marfrit/claude-his-agent/archive/v${PKGVER}.tar.gz"
|
||||
echo "$HIS_TARBALL_SHA256 his.tar.gz" | sha256sum -c
|
||||
tar xzf his.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user