Skip to content

Commit e7abc20

Browse files
committed
[fix] Correct configuration durations type
1 parent f3176b3 commit e7abc20

File tree

1 file changed

+2
-2
lines changed
  • docs/sources/k6/next/using-k6/secret-source

1 file changed

+2
-2
lines changed

docs/sources/k6/next/using-k6/secret-source/url.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ The URL secret source supports three configuration methods:
4747
| `method` | string | `GET` | HTTP method to use |
4848
| `headers.*` | string | - | Custom headers. For example, `headers.Authorization=Bearer token` |
4949
| `responsePath` | string | - | JSON path to extract the secret from the response. If empty, k6 uses the entire response |
50-
| `timeout` | duration | `30s` | Request timeout (e.g., `30s`, `1m`, `500ms`) |
50+
| `timeout` | string | `30s` | Request timeout (e.g., `30s`, `1m`, `500ms`) |
5151
| `requestsPerMinuteLimit` | int | `300` | Maximum requests per minute |
5252
| `requestsBurst` | int | `10` | Burst of requests above rate limit |
5353
| `maxRetries` | int | `3` | Maximum retry attempts for failed requests |
54-
| `retryBackoff` | duration | `1s` | Base backoff duration for retries |
54+
| `retryBackoff` | string | `1s` | Base backoff duration for retries |
5555

5656
### Inline configuration
5757

0 commit comments

Comments
 (0)