jihuaqiang hai 4 semanas
pai
achega
3bf20272f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      workers/video_insight_trigger_work.py

+ 1 - 1
workers/video_insight_trigger_work.py

@@ -169,7 +169,7 @@ async def run():
     scheduler = AsyncIOScheduler()
     try:
         logger.info(f"[处理 - trigger] 开始启动")
-        scheduler.add_job(ConsumptionRecommend.run, trigger=IntervalTrigger(minutes=4))  # 每4分钟启动一次
+        scheduler.add_job(ConsumptionRecommend.run, trigger=IntervalTrigger(minutes=1))  # 每4分钟启动一次
         scheduler.start()
         await asyncio.Event().wait()
     except KeyboardInterrupt: