Administrator
2023-07-27 c60de4037ef58bc6ef9f07bf61b608c2e484ab00
trade/huaxin/trade_server.py
@@ -172,7 +172,7 @@
                            pr.enable()
                            l2_data_manager_new.L2TradeDataProcessor.process_huaxin(code, datas)
                            pr.disable()
                            pr.dump_stats(f"/home/logs/profile/{code}/{round(time.time()*1000)}.log")
                            pr.dump_stats(f"/home/logs/profile/{code}_{round(time.time()*1000)}.log")
                        finally:
                            sk.sendall(socket_util.load_header(json.dumps({"code": 0}).encode(encoding='utf-8')))