forked from TrueCloudLab/rclone
ftp: add notes on how to avoid deadlocks with concurrency - fixes #6370
This commit is contained in:
parent
f279e4ab01
commit
d08ed7d1e9
1 changed files with 16 additions and 2 deletions
|
@ -82,7 +82,21 @@ to an encrypted one. Cannot be used in combination with implicit FTP.`,
|
||||||
Default: false,
|
Default: false,
|
||||||
}, {
|
}, {
|
||||||
Name: "concurrency",
|
Name: "concurrency",
|
||||||
Help: "Maximum number of FTP simultaneous connections, 0 for unlimited.",
|
Help: strings.Replace(`Maximum number of FTP simultaneous connections, 0 for unlimited.
|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
--check-first| or |--checkers 1 --transfers 1|.
|
||||||
|
|
||||||
|
`, "|", "`", -1),
|
||||||
Default: 0,
|
Default: 0,
|
||||||
Advanced: true,
|
Advanced: true,
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in a new issue