feat: persist failure journal and bounded retries (F11)
This commit is contained in:
parent
ec3e0c16e0
commit
871182d6d5
15 changed files with 2769 additions and 23 deletions
|
|
@ -94,6 +94,8 @@ pacing).
|
|||
(default `/directus/uploads/.image-previews`; override `IMAGE_PREVIEWS_STATE_DIR`). Do NOT default to
|
||||
`/directus/extensions/...` — that path is a root-owned volume and the API runs as `node` → EACCES.
|
||||
- `state.jsonl` = append-only completed `{file_id,preset_key,format}` → resume.
|
||||
- `failures.jsonl` = append-only failure events; replay derives the latest state per
|
||||
`(file_id,preset_key,format)`. Compacted under `run.lock` (unresolved + last 1,000 recovered).
|
||||
- All state is **file-backed** (PM2 cluster, 8 workers — never in-memory).
|
||||
|
||||
## Nightly scheduling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue