luojunhui 2 달 전
부모
커밋
b75be0de04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      coldStartTasks/ai_pipeline/extract_video_best_frame.py

+ 1 - 1
coldStartTasks/ai_pipeline/extract_video_best_frame.py

@@ -65,7 +65,7 @@ class ExtractVideoBestFrame:
         """
         fetch_query = f"""
             select count(1) as pool_size from {table_name}
-            where upload_status = 2 and file_state = 'PROCESSING';
+            where upload_status = 2 and file_state = 'PROCESSING' and extract_status = 0;
         """
         fetch_response = self.db_client.fetch(query=fetch_query, cursor_type=DictCursor)
         processing_task_pool_size = (