Administrator
2023-09-18 33b3466031a725b52d4c9ee682c079d6509e07bc
huaxin_client/command_manager.py
@@ -129,17 +129,14 @@
                try:
                    val = pipe_strategy.recv()
                    if val:
                        if type(val) == bytes:
                            val = val.decode("utf-8")
                        val = json.loads(val)
                        _type = val["type"]
                        cls.process_command_thread_pool.submit(lambda: cls.process_command(_type, None, val))
                except Exception as e:
                    logger_local_huaxin_trade_debug.exception(e)
                    async_log_util.exception(logger_local_huaxin_trade_debug, e)
                    logging.exception(e)
        except Exception as e:
            logger_local_huaxin_trade_debug.exception(e)
            async_log_util.exception(logger_local_huaxin_trade_debug, e)
    # 维护连接数的稳定
    def run(self, blocking=True):