use watchFileSize in Remote.External.retrieveKeyFile
authorJoey Hess <joeyh@joeyh.name>
Fri, 19 Jan 2024 18:31:54 +0000 (14:31 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 19 Jan 2024 18:34:30 +0000 (14:34 -0400)
commitc02df7924803a178f9c3851febe3d44fd67eb7cf
treef2d53cf7eb83d39b9af753252863db75cdfe61e0
parent8da85fd3a3a2f3f5ef4171a4c810b6693cf6fb49
use watchFileSize in Remote.External.retrieveKeyFile

external: Monitor file size when getting content from external special
remotes and use that to update the progress meter, in case the external
special remote program does not report progress.

This relies on 703a70cafa79eb0cf9f3ae676763e1798cb77292 to prevent ever
running the meter backwards.

Sponsored-by: Dartmouth College's DANDI project
CHANGELOG
Remote/External.hs
doc/bugs/too_aggressive_in_claiming___34__Transfer_stalled__34____63__/comment_5_9fc2d7f4b39615e43bce3993e0a6e647._comment [new file with mode: 0644]
doc/bugs/too_aggressive_in_claiming___34__Transfer_stalled__34____63__/comment_6_1b2eb9993e220082f3be5dd568deef3e._comment [new file with mode: 0644]