فهرست منبع

多线程启动historyTask

luojunhui 5 ماه پیش
والد
کامیت
2e9bb874fb
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      historyTask.py

+ 1 - 1
historyTask.py

@@ -78,7 +78,7 @@ def run_thread(publish_flag, sleep_seconds, stop_flag):
         logging(
         logging(
             code="history0004",
             code="history0004",
             info="History task finished",
             info="History task finished",
-            alg="run_thread"
+            function="run_thread"
         )
         )
         print("Task{}--{}    请求执行完成, 等待{}s".format(publish_flag, now_str, sleep_seconds))
         print("Task{}--{}    请求执行完成, 等待{}s".format(publish_flag, now_str, sleep_seconds))
         time.sleep(sleep_seconds)
         time.sleep(sleep_seconds)