Skip to content

Commit 8c71d8a

Browse files
committed
docs: limits table synced to v1.4.0 edge-safe statuses
Three cells still listed 504 (max job wall time, fetch connect/total timeout) after the 502/504 -> 404/403/503 remap — drift introduced by the v1.4.0 change itself and caught by the next pulse's residual sweep. Error-behavior columns now read 503, matching the error table and the shipped code.
1 parent 2de4df5 commit 8c71d8a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/API.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ both return 200 with byte-identical content to
207207
| Limit | Env var | Default | Behavior when exceeded |
208208
|---|---|---|---|
209209
| Max request body | `DOCROT_MAX_REQUEST_BYTES` | 65536 (64 KiB) | `413 request_too_large` |
210-
| Max job wall time | `DOCROT_MAX_JOB_SECONDS` | 240 | `504 duration_exceeded` |
210+
| Max job wall time | `DOCROT_MAX_JOB_SECONDS` | 240 | `503 duration_exceeded` |
211211
| Max archive size | `DOCROT_MAX_ARCHIVE_BYTES` | 52428800 (50 MiB) | `413 archive_too_large` |
212212
| Max extracted file size | `DOCROT_MAX_FILE_BYTES` | 2097152 (2 MiB) | file skipped |
213213
| Max archive entries | `DOCROT_MAX_FILES` | 20000 | `413 too_many_files` |
@@ -216,8 +216,8 @@ both return 200 with byte-identical content to
216216
| Per-request check timeout | `DOCROT_CHECK_TIMEOUT_S` | 10 | `timeout` error for that URL |
217217
| Max redirects per URL | `DOCROT_CHECK_MAX_REDIRECTS` | 5 | `too_many_redirects` |
218218
| Max bytes read per response | `DOCROT_CHECK_MAX_READ_BYTES` | 65536 | hard cap, connection closed |
219-
| Fetch connect timeout | `DOCROT_FETCH_CONNECT_TIMEOUT_S` | 10 | `504` |
220-
| Fetch total timeout | `DOCROT_FETCH_TIMEOUT_S` | 60 | `504` |
219+
| Fetch connect timeout | `DOCROT_FETCH_CONNECT_TIMEOUT_S` | 10 | `503` |
220+
| Fetch total timeout | `DOCROT_FETCH_TIMEOUT_S` | 60 | `503` |
221221

222222
Other env vars: `DOCROT_HOST`, `DOCROT_PORT`, `DOCROT_GITHUB_HOST`,
223223
`DOCROT_CODELOAD_HOST`, `DOCROT_ACCESS_LOG`, `DOCROT_JOB_LOG`,

0 commit comments

Comments
 (0)