Skip to content

Commit a00690f

Browse files
committed
fix(deploy): use taskset to run build on 10 cpu cores
1 parent 3fe2b25 commit a00690f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/deploy/tasks/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _build(self, connections: Group) -> GroupResult:
6262
:return: The results of the task.
6363
"""
6464
print_debug("Building packages")
65-
cmd = f"cd {self._remote_workspace} && pixi run build {self._package}"
65+
cmd = f"cd {self._remote_workspace} && chrt -r 1 taskset -c 0-9 pixi run build {self._package}"
6666

6767
print_debug(f"Calling '{cmd}'")
6868
try:

0 commit comments

Comments
 (0)