run download checksum verification in separate job pool
get, move, copy, sync: When -J or annex.jobs has enabled concurrency, checksum verification uses a separate job pool than is used for downloads, to keep bandwidth saturated. Not yet done for upload checksum verification, but that only affects remotes on local disks.
This commit is contained in:
parent
5a9842d7ed
commit
04cc470201
8 changed files with 43 additions and 35 deletions
|
@ -7,6 +7,9 @@ module Types.Concurrency where
|
|||
|
||||
import Utility.PartialPrelude
|
||||
|
||||
-- Note that Concurrent 1 is not the same as NonConcurrent;
|
||||
-- the former specifies 1 job of each particular kind, but there can be
|
||||
-- more than one kind of job running concurrently.
|
||||
data Concurrency = NonConcurrent | Concurrent Int | ConcurrentPerCpu
|
||||
|
||||
parseConcurrency :: String -> Maybe Concurrency
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue