From 64acc2bcd5e531f02be2da919e97b7af6bc86e4a Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 27 二月 2024 16:52:21 +0800 Subject: [PATCH] zeromq集成测试 --- test/test_pyzmq.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/test_pyzmq.py b/test/test_pyzmq.py index 8bf0a7b..1fa47e7 100644 --- a/test/test_pyzmq.py +++ b/test/test_pyzmq.py @@ -69,7 +69,7 @@ self.socket_client_dict = {} # 淇濆瓨浠g爜鍒嗛厤鐨刢lient 鏍煎紡锛歿code:(host, socket)} self.code_socket_client_dict = {} - self.lock = threading.Lock() + self.lock = threading.RLock() context = zmq.Context() for host in self.ipchosts: socket = context.socket(zmq.REQ) -- Gitblit v1.8.0