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),