Skip to content

Commit 33d3030

Browse files
Correct Suspend/Resume backoffLimit for Pathways (#157)
1 parent ed4a896 commit 33d3030

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xpk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class CapacityType(enum.Enum):
237237
labels:
238238
xpk.google.com/workload: {args.workload}
239239
spec:
240-
backoffLimit: 4
240+
backoffLimit: {backoff_limit}
241241
completions: {system.vms_per_slice}
242242
parallelism: {system.vms_per_slice}
243243
template:
@@ -6206,6 +6206,7 @@ def workload_create(args) -> None:
62066206
].resource_type,
62076207
local_queue_name=_LOCAL_QUEUE_NAME,
62086208
autoprovisioning_args=autoprovisioning_args,
6209+
backoff_limit=system.vms_per_slice * 4,
62096210
)
62106211
else:
62116212
container, debugging_dashboard_id = get_user_workload_container(

0 commit comments

Comments
 (0)