Skip to content

Commit

Permalink
config: remove core.jobs dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored and karajan1001 committed Jun 22, 2022
1 parent 9a1a3a0 commit 2773e99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions dvc/fs/__init__.py
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion tests/unit/remote/test_remote.py
Expand Up @@ -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)
Expand Down

0 comments on commit 2773e99

Please sign in to comment.