rclone: limit sftp-concurrency to 64 and remove OOMScoreAdjust workaround
This commit is contained in:
parent
ec1f55aece
commit
7c8bc5a1f6
1 changed files with 1 additions and 2 deletions
|
@ -23,13 +23,12 @@ let
|
||||||
--vfs-fast-fingerprint \
|
--vfs-fast-fingerprint \
|
||||||
--vfs-read-chunk-size 16M \
|
--vfs-read-chunk-size 16M \
|
||||||
--vfs-read-chunk-streams 16 \
|
--vfs-read-chunk-streams 16 \
|
||||||
--sftp-concurrency 128 \
|
--sftp-concurrency 64 \
|
||||||
--sftp-chunk-size 255k \
|
--sftp-chunk-size 255k \
|
||||||
--buffer-size 0 \
|
--buffer-size 0 \
|
||||||
${remote} ${mount}
|
${remote} ${mount}
|
||||||
'';
|
'';
|
||||||
ExecStop = "${lib.getExe' pkgs.fuse "fusermount"} -zu ${mount}";
|
ExecStop = "${lib.getExe' pkgs.fuse "fusermount"} -zu ${mount}";
|
||||||
OOMScoreAdjust = -1000;
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue