Skip to content

Commit 33d9129

Browse files
author
Ayush Jha
committed
chore: minor changes based on comments by @baalimago
1 parent d8cb3fd commit 33d9129

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pages/edge/configuration/jobs.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ Each job consists of the following fields:
2626
should retry upon failure.
2727
- **timeout** *(duration, Optional)* – The maximum time a job is
2828
allowed to run before timing out (e.g., `'10m'` for 10 minutes).
29-
- **max_schedule_drift** *(Optional[PrettyDuration])* – The maximum
30-
allowed delay before the job is considered late.
29+
- **max_schedule_drift** *(duration, Optional)* – The maximum
30+
allowed delay before the job is considered late. (e.g., `'10m'` for
31+
10 minutes)
3132

3233

3334
Fully working examples configuration can be found
@@ -74,7 +75,9 @@ two types of actions for a job:
7475
```
7576
- `path` *(str, required)* – The request URL path.
7677
- `method` *(str, Optional)* – HTTP method (defaults to `GET`).
77-
- `headers` *(map, Optional)* – HTTP headers.
78+
- `headers` *(object[name, value], Optional)* – HTTP headers as
79+
yaml objects. The objects have two fields, `name` which is the
80+
header name, and `value` which is the value of header field.
7881
- `body` *(str, Optional)* – Request body.
7982
- `timeout` *(duration, Optional)* – Maximum time to wait for
8083
a response.

0 commit comments

Comments
 (0)