Skip to content

Commit 5e455f9

Browse files
authored
Modified description of maxTaskRetryCount to include default value and clarify infinite retries (#17293)
1 parent 3715b1e commit 5e455f9

File tree

1 file changed

+3
-3
lines changed
  • specification/batch/data-plane/Microsoft.Batch/stable/2022-01-01.15.0

1 file changed

+3
-3
lines changed

specification/batch/data-plane/Microsoft.Batch/stable/2022-01-01.15.0/BatchService.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11646,7 +11646,7 @@
1164611646
"type": "integer",
1164711647
"format": "int32",
1164811648
"title": "The maximum number of times each Task may be retried. The Batch service retries a Task if its exit code is nonzero.",
11649-
"description": "Note that this value specifically controls the number of retries. The Batch service will try each Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry Tasks. If the maximum retry count is -1, the Batch service retries Tasks without limit. The default value is 0 (no retries)."
11649+
"description": "Note that this value specifically controls the number of retries. The Batch service will try each Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry Tasks. If the maximum retry count is -1, the Batch service retries the Task without limit, however this is not recommended for a start task or any task. The default value is 0 (no retries)"
1165011650
}
1165111651
},
1165211652
"title": "The execution constraints for a Job."
@@ -12080,7 +12080,7 @@
1208012080
"type": "integer",
1208112081
"format": "int32",
1208212082
"title": "The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero.",
12083-
"description": "Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit."
12083+
"description": "Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit, however this is not recommended for a start task or any task. The default value is 0 (no retries)"
1208412084
}
1208512085
},
1208612086
"title": "Execution constraints to apply to a Task."
@@ -12366,7 +12366,7 @@
1236612366
"type": "integer",
1236712367
"format": "int32",
1236812368
"title": "The maximum number of times the Task may be retried.",
12369-
"description": "The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task. If the maximum retry count is -1, the Batch service retries the Task without limit."
12369+
"description": "The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task. If the maximum retry count is -1, the Batch service retries the Task without limit, however this is not recommended for a start task or any task. The default value is 0 (no retries)"
1237012370
},
1237112371
"waitForSuccess": {
1237212372
"type": "boolean",

0 commit comments

Comments
 (0)