From de259d86dae5f53cca842ccaa2e11646408ad5f5 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Thu, 19 May 2016 14:18:51 +0300 Subject: Enlarged ZMQ timeout --- .../trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py index fa04b9f6..065a1442 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py @@ -273,8 +273,8 @@ class JsonRpcClient(object): except zmq.error.ZMQError as e: return RC_ERR("ZMQ Error: Bad server or port name: " + str(e)) - self.socket.setsockopt(zmq.SNDTIMEO, 1000) - self.socket.setsockopt(zmq.RCVTIMEO, 1000) + self.socket.setsockopt(zmq.SNDTIMEO, 10000) + self.socket.setsockopt(zmq.RCVTIMEO, 10000) self.connected = True -- cgit