We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d0d5b8 commit 0a175b0Copy full SHA for 0a175b0
1 file changed
wfcommons/wfbench/bench.py
@@ -334,7 +334,7 @@ def _generate_task_cpu_params(self,
334
_cpu_work = cpu_work[task.category] if isinstance(
335
cpu_work, dict) else cpu_work
336
337
- params = [f"--percent-cpu {_percent_cpu}", f"--cpu-work {_cpu_work}"]
+ params = [f"--percent-cpu {_percent_cpu}", f"--cpu-work {int(_cpu_work)}"]
338
339
if lock_files_folder:
340
params.extend([f"--path-lock {lock}",
0 commit comments