mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 23:09:44 +01:00
* Job count expected in a core config Besides defaulted 4 * core_count number of workers sourced in the "tree", the configuration file based value expected and prioritised. * Multiply the configured value by cpu cores count. * Don't multiply by the core count twice. * A couple more usages and a question note. * Don't multiply a number of jobs to a cpu count Number of jobs set in a config file directly used to spawn workers. * Remove the obsolete note. * Disallow 0 jobs set in a config * `jobs` config-based value is optional * Apply suggestions from code review Co-authored-by: Ruslan Kuprieiev <[email protected]> * CPU count based default * Update dvc/tree/base.py * Happy path unit test * Update tests/unit/remote/test_remote.py * Fix the accidentally removed blank line * Update dvc/tree/base.py Co-authored-by: Ruslan Kuprieiev <[email protected]>