aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/shared/parallel.go
Commit message (Collapse)AuthorAge
* Add --max-workers and heuristics for parallel operationsbaude2018-10-25
add a global flag for --max-workers so users can limit the number of parallel operations for a given function. also, when not limited by max-workers, we implement a heuristic function that returns the number of preferred parallel workers based on the number of CPUs and the given operation. Signed-off-by: baude <bbaude@redhat.com>