Administrator
2023-08-24 43ede61c11064c2279889ca352fc6ec596f9f4d8
交易通道处理采用线程池
1个文件已修改
2 ■■■ 已修改文件
huaxin_client/command_manager.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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: