Make the download deadline an idle deadline and cancel failed bodies (closes #24) #88

Merged
clawbot merged 1 commits from issue-24-idle-deadline into next2 2026-09-23 03:14:42 +02:00
1 Commits
Author SHA1 Message Date
sneak b9bb0c5946 Make the download deadline an idle deadline and cancel failed bodies (closes #24)
check / check (push) Successful in 14s
downloadTimeoutMs now aborts a file or thumbnail download only when no
bytes have arrived for that long (default 60 s, was a 600 s cap on the
whole transfer), so a slow download that keeps making progress completes.
The abort reason is still a TimeoutError, so retry classification is
unchanged. A download that fails before reading the whole response body
cancels it, including when the temp file cannot be opened or the header
is malformed, so a failed file no longer holds its connection.

Model: opus-5-5
2026-09-23 01:00:08 +00:00