luojunhui 3 týždňov pred
rodič
commit
87d745ed64

+ 1 - 1
coldStartTasks/ai_pipeline/extract_video_best_frame.py

@@ -36,7 +36,7 @@ class ExtractVideoBestFrame:
         """
         """
         fetch_query = f"""
         fetch_query = f"""
             select id, video_oss_path from {table_name} 
             select id, video_oss_path from {table_name} 
-            where upload_status = 0
+            where upload_status = 0 and priority = 1
             limit {task_num};
             limit {task_num};
         """
         """
         upload_task_list = self.db_client.fetch(
         upload_task_list = self.db_client.fetch(