sftp: fix docs on connections not to refer to concurrency

This commit is contained in:
Russ Bubley 2024-06-28 10:42:52 +01:00 committed by GitHub
parent 754e53dbcc
commit c834eb7dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -339,13 +339,13 @@ cost of using more memory.
Note that setting this is very likely to cause deadlocks so it should Note that setting this is very likely to cause deadlocks so it should
be used with care. 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|. than the sum of |--transfers| and |--checkers|.
If you use |--check-first| then it just needs to be one more than the If you use |--check-first| then it just needs to be one more than the
maximum of |--checkers| and |--transfers|. 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|. --check-first| or |--checkers 1 --transfers 1|.
`, "|", "`", -1), `, "|", "`", -1),