Skip to content

Commit 0a175b0

Browse files
committed
fix: force cpu work to int
1 parent 7d0d5b8 commit 0a175b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wfcommons/wfbench/bench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def _generate_task_cpu_params(self,
334334
_cpu_work = cpu_work[task.category] if isinstance(
335335
cpu_work, dict) else cpu_work
336336

337-
params = [f"--percent-cpu {_percent_cpu}", f"--cpu-work {_cpu_work}"]
337+
params = [f"--percent-cpu {_percent_cpu}", f"--cpu-work {int(_cpu_work)}"]
338338

339339
if lock_files_folder:
340340
params.extend([f"--path-lock {lock}",

0 commit comments

Comments
 (0)