Skip to content

Commit 7e41ef8

Browse files
committed
fix(deploy): use taskset to run build on 10 cpu cores
1 parent 10ad1cb commit 7e41ef8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/deploy/tasks/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ 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 --environment robot build {self._package}"
65+
66+
cmd = f"cd {self._remote_workspace} && chrt -r 1 taskset -c 0-9 pixi run --environment robot build {self._package}"
6667

6768
print_debug(f"Calling '{cmd}'")
6869
try:

0 commit comments

Comments
 (0)