fix: make VLM non-blocking in ingestion check
VLM summary was blocking job completion, causing jobs created before P5 deployment to be stuck forever (vlm=false, all_ok=false). Now VLM logs progress but doesn't block: vlm_done_bool always true. This allows older jobs to complete while VLM can be triggered separately via API.
This commit is contained in:
@@ -1860,12 +1860,8 @@ impl JobWorker {
|
||||
}
|
||||
}
|
||||
|
||||
// VLM summary: blocking for files with face traces
|
||||
let vlm_done_bool: bool = if has_face {
|
||||
if let (Some(total), Some(done)) = (vlm_total, vlm_done_count) {
|
||||
total == 0 || done == total
|
||||
} else { true }
|
||||
} else { true };
|
||||
// VLM summary: non-blocking — log progress but don't block job completion
|
||||
let vlm_done_bool: bool = true;
|
||||
|
||||
let all_ok = asr_done && trace_done && tkg_done && face_cluster_done && qdrant_face_done && vlm_done_bool;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user