Browse Source

2024-06-13
异步定时任务

罗俊辉 11 months ago
parent
commit
014af7c763
1 changed files with 1 additions and 1 deletions
  1. 1 1
      task2.py

+ 1 - 1
task2.py

@@ -73,7 +73,7 @@ async def main():
     """
     """
     TMC = TaskMySQLClient()
     TMC = TaskMySQLClient()
     await TMC.init_pool()
     await TMC.init_pool()
-    PD = ProcessDeal(TMC)
+    PD = ProcessDeal2(TMC)
     await PD.deal()
     await PD.deal()