Skip to content

Commit

Permalink
fs: remove unused connection pool module
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla committed Mar 1, 2022
1 parent a378e01 commit 59b8498
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 74 deletions.
7 changes: 0 additions & 7 deletions dvc/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,6 @@ def main(argv=None): # noqa: C901
finally:
logger.setLevel(outerLogLevel)

from dvc.fs.pool import close_pools

# Closing pools by-hand to prevent weird messages when closing SSH
# connections. See https://github.com/iterative/dvc/issues/3248 for
# more info.
close_pools()

from dvc.external_repo import clean_repos

# Remove cached repos in the end of the call, these are anonymous
Expand Down
59 changes: 0 additions & 59 deletions dvc/fs/pool.py

This file was deleted.

8 changes: 0 additions & 8 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@ def clean_repos():
clean_repos()


@pytest.fixture(scope="session", autouse=True)
def _close_pools():
from dvc.fs.pool import close_pools

yield
close_pools()


def _get_opt(remote_name, action):
return f"--{action}-{remote_name}"

Expand Down

0 comments on commit 59b8498

Please sign in to comment.