From 521647e47e907629bf09964a04a70511624c0fb9 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 23 Aug 2019 21:54:53 -0500 Subject: [PATCH] ssh: implement slow_link_detection --- dvc/remote/ssh/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dvc/remote/ssh/__init__.py b/dvc/remote/ssh/__init__.py index 3ff2ae546..6562b19af 100644 --- a/dvc/remote/ssh/__init__.py +++ b/dvc/remote/ssh/__init__.py @@ -22,6 +22,7 @@ from dvc.config import Config from dvc.utils import to_chunks from dvc.utils.compat import urlparse, StringIO from dvc.remote.base import RemoteBASE +from dvc.remote.local.slow_link_detection import slow_link_guard from dvc.scheme import Schemes from dvc.remote.pool import get_connection from dvc.progress import Tqdm @@ -353,6 +354,7 @@ class RemoteSSH(RemoteBASE): ) logger.debug(msg) + @slow_link_guard def _try_links(self, from_info, to_info, link_types, ssh): i = len(link_types) while i > 0: