mirror of https://github.com/m-labs/artiq.git
protocols/pc_rpc: use timeout only for connecting. Closes #161
This commit is contained in:
parent
a9cf89215b
commit
5bf257818d
|
@ -292,6 +292,7 @@ class BestEffortClient:
|
|||
else:
|
||||
self.__socket = socket.create_connection(
|
||||
(self.__host, self.__port), timeout)
|
||||
self.__socket.settimeout(None)
|
||||
self.__socket.sendall(_init_string)
|
||||
server_identification = self.__recv()
|
||||
target_name = _validate_target_name(self.__target_name,
|
||||
|
|
Loading…
Reference in New Issue