sync.moby: reduce job count
This commit is contained in:
@@ -424,7 +424,8 @@
|
|||||||
type = "app";
|
type = "app";
|
||||||
program = builtins.toString (pkgs.writeShellScript "sync-to-moby" ''
|
program = builtins.toString (pkgs.writeShellScript "sync-to-moby" ''
|
||||||
sudo mount /mnt/moby-home
|
sudo mount /mnt/moby-home
|
||||||
${pkgs.sane-scripts.sync-music}/bin/sane-sync-music --compress --compat /mnt/servo-media/Music /mnt/moby-home/Music $@
|
# N.B.: limited by network/disk -> reduce job count to improve pause/resume behavior
|
||||||
|
${pkgs.sane-scripts.sync-music}/bin/sane-sync-music --compress --compat --jobs 4 /mnt/servo-media/Music /mnt/moby-home/Music $@
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user