zhangyong 6 mesiacov pred
rodič
commit
9890e1731f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      job_video_processing.py

+ 1 - 1
job_video_processing.py

@@ -10,7 +10,7 @@ def video_ai_task_start():
     with ThreadPoolExecutor( max_workers=max_workers) as executor:
     with ThreadPoolExecutor( max_workers=max_workers) as executor:
         while True:
         while True:
             try:
             try:
-                redis_task_list = ['task:video_ai_top']
+                redis_task_list = ['task:video_ai_top', 'task:video_ai_recommend'] * 3
                 futures = []
                 futures = []
                 start_time = time.time()  # 记录开始时间
                 start_time = time.time()  # 记录开始时间