From 01199fab51e7134e9046265d10b82f65538043d3 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 28 七月 2023 13:14:24 +0800
Subject: [PATCH] bug修复

---
 l2/l2_data_manager_new.py |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/l2/l2_data_manager_new.py b/l2/l2_data_manager_new.py
index 08d5857..11d079c 100644
--- a/l2/l2_data_manager_new.py
+++ b/l2/l2_data_manager_new.py
@@ -245,13 +245,14 @@
                 DCancelBigNumComputer.set_real_order_index(code, place_order_index)
             __start_time = round(t.time() * 1000)
 
-            lp = LineProfiler()
-            lp_wrap = lp(cls.process_add_datas)
-            lp_wrap(code, datas, 0, __start_time)
-            output = io.StringIO()
-            lp.print_stats(stream=output)
-            with open(f"/home/logs/profile/{code}_{round(t.time() * 1000)}.txt",'w') as f:
-                f.write(output.getvalue())
+            cls.process_add_datas(code, datas, 0, __start_time)
+            # lp = LineProfiler()
+            # lp_wrap = lp(cls.process_add_datas)
+            # lp_wrap(code, datas, 0, __start_time)
+            # output = io.StringIO()
+            # lp.print_stats(stream=output)
+            # with open(f"/home/logs/profile/{code}_{round(t.time() * 1000)}.txt",'w') as f:
+            #     f.write(output.getvalue())
             # lp.dump_stats(f"/home/logs/profile/{code}_{round(t.time() * 1000)}.txt")
         except Exception as e:
             print("huaxin L2鏁版嵁澶勭悊寮傚父", code, str(e))

--
Gitblit v1.8.0