Skip to content

Commit 461c37f

Browse files
committed
Addressed some grammar suggestions
Signed-off-by: Albert Callarisa <[email protected]>
1 parent a4b0edb commit 461c37f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

daprdocs/content/en/reference/api/jobs_api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Parameter | Description
3838
`repeats` | An optional number of times in which the job should be triggered. If not set, the job runs indefinitely or until expiration.
3939
`ttl` | An optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
4040
`overwrite` | A boolean value to specify if the job can overwrite an existing one with the same name. Default value is `false`
41-
`failure_policy` | An optional failure policy for the job. Details of the format are below. If not set, the job will be retried up to 3 times with a delay of 1 second between retries.
41+
`failure_policy` | An optional failure policy for the job. Details of the format are below. If not set, the job is retried up to 3 times with a delay of 1 second between retries.
4242

4343
#### schedule
4444
`schedule` accepts both systemd timer-style cron expressions, as well as human readable '@' prefixed period strings, as defined below.
@@ -69,10 +69,10 @@ Entry | Description | Equivalent
6969
`failure_policy` specifies how the job should handle failures.
7070

7171
It can be set to `constant` or `drop`.
72-
- The `constant` policy will retry the job based on the configuration
73-
- `max_retries` configures how many times the job should be retried. Not setting this will make it retry indefinitely.
74-
- `interval` configures the delay between retries. Not setting this will make it retry immediately.
75-
- The `drop` policy will drop the job after the first failure, without retrying.
72+
- The `constant` policy retries the job based on the configuration.
73+
- `max_retries` configures how many times the job should be retried. Not setting this makes it retry indefinitely.
74+
- `interval` configures the delay between retries. Not setting this makes it retry immediately.
75+
- The `drop` policy drops the job after the first failure, without retrying.
7676

7777
##### Example 1
7878

0 commit comments

Comments
 (0)