diff --git a/src/api/processing.rs b/src/api/processing.rs index 44478941..2f27f037 100644 --- a/src/api/processing.rs +++ b/src/api/processing.rs @@ -417,13 +417,13 @@ async fn trigger_processing( }) .collect(); let status = serde_json::json!({ - "phase": "PROCESSING", + "phase": "QUEUED", "active_processors": processor_names_upper, "total_frames": 0, "progress": progress }); sqlx::query(&format!( - "UPDATE {videos_table} SET status = 'processing', processing_status = $1, updated_at = CURRENT_TIMESTAMP WHERE file_uuid = $2" + "UPDATE {videos_table} SET status = 'queued', processing_status = $1, updated_at = CURRENT_TIMESTAMP WHERE file_uuid = $2" )) .bind(&status) .bind(&file_uuid)