d93089a491
Build & push images / images (push) Successful in 3m9s
Measured on park-2 (i5-9500): a main-stream pull is ~0.1s and /analyze ~0.25s while the host sat under 3% CPU; the loop's fixed 1s sleep was the limit (one frame per ~1.35s). The camera's picture endpoint is single- threaded (4 parallel GETs -> two 503s) and the vision service serialises inference, so no threads: pulls are back-to-back and serial per camera, ~3 fps. ANPR_POLL_MS is now a floor (default 0). The loop no longer breaks on the first confident plate, and the 12s camera-level debounce is gone: 40 of 57 plate-driven opens at park-2 had a push dropped in that blind window, so a tailgating car was never looked at. Each confident plate is settled once per loop (emit / anpr-skip / decline) and the loop runs on while the camera keeps pushing, so a second car is read by the same loop. Debounce is keyed deviceId:plate only; the card/QR mid-poll guard is per subscriber instead of aborting the loop; the pass sample is one per plated car. ANPR_POLL_WINDOW_MS=0 is honoured (it used to fall back to 8s silently). The camera event model was re-confirmed from 2780 pushes: every push is an independent VMD/active with activePostCount=1, ~1.2s apart while a car moves, never inactive. Nothing is held for 30s on the camera side.