Sped up proxied downloads from special remotes, by streaming
authorJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 16:22:34 +0000 (12:22 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 16:25:15 +0000 (12:25 -0400)
commitedaed18e4ce72f493be13dea2ca1f318f1af7a4e
tree1dd60739032d2c5a7d6302a959c4dc2398813b0d
parent76a1989a0ef72c909795aef0f0f3f1ee8b00eea3
Sped up proxied downloads from special remotes, by streaming

Currently works for special remotes that don't use fileRetriever. Ones that
do will download to another filename and rename it into place, defeating
the streaming.

This actually benchmarks slightly slower when getting a large file from
a fast proxied special remote. However, when the proxied special remote
is slow, it will be a big win.
Annex/Proxy.hs
CHANGELOG
doc/todo/git-annex_proxies.mdwn