forked from mtusi2026/mtusi2026lab5
The renderer adapter keeps one single-process pool per WORKER_CONCURRENCY slot. A render that exceeds RENDER_TIMEOUT_SECONDS is killed and its slot is respawned, the render process has RLIMIT_AS = RENDER_MEMORY_MB on Linux, so both limits end in ImageTooDemanding, a permanent processing_failed. A render process killed from outside is a transient error. A cancelled render (lost lease, shutdown) kills its process too. The worker container limit grows to 1g: two 448 MiB render processes plus the worker itself. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>