zhangyong 4 달 전
부모
커밋
1236f8a7f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      workers/consumption_work.py

+ 1 - 1
workers/consumption_work.py

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