Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: remove core.jobs dead code #7908

Merged
merged 1 commit into from Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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