CLI: fix exception throwing after send start message 97/162397/2
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 30 Nov 2017 17:39:15 +0000 (20:39 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Fri, 8 Dec 2017 09:14:39 +0000 (09:14 +0000)
Increase the timeout for control messages acknowledge

Change-Id: Ibee809618fe6a1be1f53ab7ccf2036ac931ba0ee
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
src/cli/swap_cli/protocol/control_channel.py

index 63a1eb2..32f4e56 100644 (file)
@@ -125,7 +125,7 @@ class ControlChannel:
         sock.sendall(control_msg.get_binary())
 
     def __recv(self, sock):
-        wait_s = 5.0
+        wait_s = 60
         logging.info('Waiting for response... %ds', wait_s)
         sock.settimeout(wait_s)
         resp_msg = _MessageResponse(sock)