rclone: limit sftp-concurrency to 64 and remove OOMScoreAdjust workaround

This commit is contained in:
cy 2025-03-27 19:10:04 -04:00
parent ec1f55aece
commit 7c8bc5a1f6
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -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
{ {