zhangyong 7 miesięcy temu
rodzic
commit
1b33e565bf
3 zmienionych plików z 3 dodań i 3 usunięć
  1. 1 1
      job_keyword_dy.py
  2. 1 1
      job_keyword_ks.py
  3. 1 1
      job_keyword_sph.py

+ 1 - 1
job_keyword_dy.py

@@ -11,7 +11,7 @@ def video_task_start():
             print("开始执行任务")
             mark = VideoProcessor.main(data)
             print(f"返回用户名: {mark}")
-            time.sleep(10 if mark else 120)  # 根据 mark 是否为空设置延迟
+            # time.sleep(10 if mark else 120)  # 根据 mark 是否为空设置延迟
         except Exception as e:
             print("处理任务时出现异常:", e)
             time.sleep(10)

+ 1 - 1
job_keyword_ks.py

@@ -11,7 +11,7 @@ def video_task_start():
             print("开始执行任务")
             mark = VideoProcessor.main(data)
             print(f"返回用户名: {mark}")
-            time.sleep(10 if mark else 120)  # 根据 mark 是否为空设置延迟
+            # time.sleep(10 if mark else 120)  # 根据 mark 是否为空设置延迟
         except Exception as e:
             print("处理任务时出现异常:", e)
             time.sleep(10)

+ 1 - 1
job_keyword_sph.py

@@ -11,7 +11,7 @@ def video_task_start():
             print("开始执行任务")
             mark = VideoProcessor.main(data)
             print(f"返回用户名: {mark}")
-            time.sleep(10 if mark else 120)  # 根据 mark 是否为空设置延迟
+            # time.sleep(10 if mark else 120)  # 根据 mark 是否为空设置延迟
         except Exception as e:
             print("处理任务时出现异常:", e)
             time.sleep(10)