config: remove core.jobs dead code

This commit is contained in:
dberenbaum
2022-06-22 11:36:01 +08:00
committed by Gao
parent 9a1a3a05f5
commit 2773e99afc
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -104,11 +104,6 @@ def get_cloud_fs(repo, **kwargs):
except Invalid as exc:
raise RepoConfigError(str(exc)) from None
if "jobs" not in remote_conf:
jobs = core_config.get("jobs")
if jobs:
remote_conf["jobs"] = jobs
if "checksum_jobs" not in remote_conf:
checksum_jobs = core_config.get("checksum_jobs")
if checksum_jobs:
-1
View File
@@ -23,7 +23,6 @@ def test_remote_with_jobs(dvc):
"url": "s3://bucket/name",
"jobs": 100,
}
dvc.config["core"]["jobs"] = 200
cls, config, _ = get_cloud_fs(dvc, name="with_jobs")
fs = cls(**config)