From: Joey Hess Date: Mon, 7 Dec 2020 20:54:57 +0000 (-0400) Subject: devblog X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~2^2^2~76^2~395 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d616881057c81ca1173aeac9a3168c8f0269455c;p=git-annex.git devblog --- diff --git a/doc/devblog/day_635__stall_detection.mdwn b/doc/devblog/day_635__stall_detection.mdwn new file mode 100644 index 0000000000..f870fdbd21 --- /dev/null +++ b/doc/devblog/day_635__stall_detection.mdwn @@ -0,0 +1,19 @@ +Finally have all the groundwork done for canceling stalled transfers. This +involved taking some code that was in the assistant, and had not been +touched for probably 7 years beyond basic maintenance, dusting it off, +and making it suitable to be used in git-annex more generally. Now I have +git-annex using transferkeys child processes, and all that seems to work +well. + +I'm finishing up today by designing the new git config that will enable stall +detection and canceling. annex.stalldetection will be configurable to a +value like "1MB/30s", which means it's stalled unless every 30 seconds +a megabyte of data has been tranferred. Or "0KiB/2m" will let things stall +for up to 2 minutes with no data transfer. There will also be a per-remote +config, so minimum transfer rates can be set for each. This can be combined +with annex.retry to make it retry after detecting a stall. + +---- + +Today's work was sponsored by Jake Vosloo +[on Patreon](https://patreon.com/joeyh).