|
@@ -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(
|