Send fetch progress at most once per second (closes #206) #215

Merged
clawbot merged 1 commits from issue-206-fetch-progress-rate into next 2026-10-14 00:01:23 +02:00
1 Commits
Author SHA1 Message Date
sneak a826bffca7 Send fetch progress at most once per second (closes #206)
check / check (push) Waiting to run
progressWriter sent an update for every chunk io.Copy wrote, so fetch
logged a line per 32 KiB. It now sends at most one per second, waiting
a second before the first as gen and check do, and one more when the
last byte is written.

TestFetchProgress now checks that a download of several chunks sends no
more than one update per second plus the last.

Model: opus-5-5
2026-10-13 18:26:30 +00:00