[docs] API: what errors may repeat, Idempotency-Key in progress and limits, where a minted URL is held
This commit is contained in:
+10
-2
@@ -495,8 +495,16 @@ written above.
|
||||
- Health: one admin Unix socket (mode 0660) carries both the read-only `GET /v1/status` and
|
||||
control's reload/trial calls, instead of a separate read-only socket. Edge keeps the last 5
|
||||
results per upstream; `health.since` is tracked by control and restarts with it.
|
||||
- `Idempotency-Key`s are remembered in memory for 24 h; a control restart forgets them.
|
||||
- `Idempotency-Key`s are remembered in memory for 24 h; a control restart forgets them. A
|
||||
retry while the first request is still running gets `409 request.in_progress`; with 2,000
|
||||
keys held, a new key gets `429 rate.limited`.
|
||||
- Share links: at most 2,000 active links (`409 share.too_many`). A token in `?share=` on a
|
||||
host without share links is removed before the request goes on.
|
||||
- Wrong share passwords are also limited to 20 a minute per visitor network, whatever the
|
||||
link; when the throttle's table is full, new visitors wait a minute rather than anyone's
|
||||
count being forgotten.
|
||||
- Extra error codes: `change.unchanged`, `host.hostname.mismatch`, `host.upstream.host_name`,
|
||||
`request.*`, `repo.unexpected_file`, `repo.no_remote`, `share.unavailable`,
|
||||
`share.not_found`, `share.replaces`, `share.password_long`, `token.not_found`, `token.name`,
|
||||
`share.not_found`, `share.replaces`, `share.password_long`, `share.too_many`,
|
||||
`request.in_progress`, `control.files_unwritten`, `token.not_found`, `token.name`,
|
||||
`token.expiry`, `file.*`, `site.*` (problems in `ianitor.toml`).
|
||||
|
||||
Reference in New Issue
Block a user