From c834eb7dcb2fbafefa647e169f7b884dc178de4e Mon Sep 17 00:00:00 2001 From: Russ Bubley Date: Fri, 28 Jun 2024 10:42:52 +0100 Subject: [PATCH] sftp: fix docs on connections not to refer to concurrency --- backend/sftp/sftp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.go index 7a7c37e8f..fc3c8064d 100644 --- a/backend/sftp/sftp.go +++ b/backend/sftp/sftp.go @@ -339,13 +339,13 @@ cost of using more memory. Note that setting this is very likely to cause deadlocks so it should be used with care. -If you are doing a sync or copy then make sure concurrency is one more +If you are doing a sync or copy then make sure connections is one more than the sum of |--transfers| and |--checkers|. If you use |--check-first| then it just needs to be one more than the maximum of |--checkers| and |--transfers|. -So for |concurrency 3| you'd use |--checkers 2 --transfers 2 +So for |connections 3| you'd use |--checkers 2 --transfers 2 --check-first| or |--checkers 1 --transfers 1|. `, "|", "`", -1),