huaxin_api/l1_client.py
@@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import json import logging import os import threading import time @@ -8,6 +9,7 @@ import xmdapi from huaxin_api import tool from huaxin_api.client_network import SendResponseSkManager from log_module.log import logger_system level1_data_dict = { @@ -219,9 +221,10 @@ def run_async(pipe_l2): logger_system.info("L1进程ID:", os.getpid()) t1 = threading.Thread(target=lambda: run(pipe_l2), daemon=True) t1.start() if __name__ == "__main__": run(None) pass