]> dgit.raspbian.org Git - git-annex.git/commit
improve transfer stages for some commands
authorJoey Hess <joeyh@joeyh.name>
Tue, 26 May 2020 15:55:50 +0000 (11:55 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 26 May 2020 15:55:50 +0000 (11:55 -0400)
commite04a9314392037e7b54a098f9709fc6040327411
tree4298afbf83a7d106073ac8f10b8eb8618d30eb07
parent0d82a887429e54052c5ea4e590e7f4ee093da6dc
improve transfer stages for some commands

move --to, copy --to, mirror --to: When concurrency is enabled, run cleanup
actions in separate job pool from uploads.

transferStages was confusingly named, it's only useful when doing downloads
as then the verify actions can be run concurrently with other downloads.
For commands that upload, there will be more concurrency from running
cleanup actions in a separate job pool.

As for sync, I left it using downloadStages although that's not optimal
for the part of a sync that uploads. Perhaps it should use the union of
both?
CHANGELOG
Command/Get.hs
Command/Mirror.hs
Command/Move.hs
Command/Sync.hs
Types/WorkerPool.hs