From 43ede61c11064c2279889ca352fc6ec596f9f4d8 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 24 八月 2023 16:31:50 +0800
Subject: [PATCH] 交易通道处理采用线程池

---
 huaxin_client/command_manager.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/huaxin_client/command_manager.py b/huaxin_client/command_manager.py
index 89a28db..cc34fa1 100644
--- a/huaxin_client/command_manager.py
+++ b/huaxin_client/command_manager.py
@@ -64,7 +64,7 @@
 class TradeCommandManager:
     trade_client_dict = {}
     _instance = None
-    process_command_thread_pool = concurrent.futures.ThreadPoolExecutor(max_workers=50)
+    process_command_thread_pool = concurrent.futures.ThreadPoolExecutor(max_workers=20)
 
     def __new__(cls, *args, **kwargs):
         if not cls._instance:

--
Gitblit v1.8.0