mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-10 18:39:51 -06:00
The job pool replaced a slot's queued job, but a newer job for a slot whose job was already running started beside it on another worker. A slider drag submits faster than renders finish, so one view had several renders on the GPU at once and about 30 % of finished renders were thrown away (61 MP raw, 1:1 Exposure drag). Now a slot's next job waits until its running one ends (a newer submission still replaces it in the queue); other slots are not held up, and a job that panics frees its slot. Measured on a 61 MP raw at 1:1, 8 s Exposure drags (M4 Max): thrown-away renders roughly halved, and frames over 20 ms 0 % in every one of 4 runs (one run of the overlapping pool dropped 10 %). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>