assist: With --jobs, parallelize transferring content to/from remotes
Command.Add.seek starts concurrency with CommandStages. And for Command.Sync, it needs TransferStages. So, to get both types of concurrency for the two different parts, it either needs to change the type of concurrency in between, or just call startConcurrency once for each. It seems safe enough to call startConcurrency twice, because it does shut down concurrency (mostly) at the end, and eg the old Annex.workers get emptied. Sponsored-by: unqueued on Patreon
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- Command/Assist.hs 2 additions, 2 deletionsCommand/Assist.hs
- Command/Sync.hs 2 additions, 2 deletionsCommand/Sync.hs
- doc/bugs/__39__git_annex_assist__39___doesn__39__t_honor_--jobs.mdwn 2 additions, 0 deletions...39__git_annex_assist__39___doesn__39__t_honor_--jobs.mdwn
Please register or sign in to comment