fix: add face_cluster to auto-pipeline processors
The hardcoded processors array in create_monitor_job was missing 'face_cluster', causing jobs to never run face clustering and thus never complete ingestion (face_cluster.json never created). Successful jobs (e.g. 1250) have face_cluster in processors, but newly created jobs (e.g. 1251) were missing it due to this hardcoded array being incomplete.
This commit is contained in:
@@ -2249,7 +2249,7 @@ impl PostgresDb {
|
||||
&format!(
|
||||
r#"
|
||||
INSERT INTO {} (uuid, video_path, status, video_id, processors, face_settings)
|
||||
VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','ocr','asrx'], $4::jsonb)
|
||||
VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','face_cluster','ocr','asrx'], $4::jsonb)
|
||||
RETURNING id, uuid, video_path, status, current_processor, progress_total, progress_current, error_count, last_error, started_at::TEXT, updated_at::TEXT, created_at::TEXT, processors, completed_processors, failed_processors, video_id, face_settings::text
|
||||
"#,
|
||||
jobs_table
|
||||
|
||||
Reference in New Issue
Block a user