Hi. there
It would be more convenient to have a timeout parameter when performing the connection as shown below.
What if we could easily adjust this by setting environment variables when calling _wait_and_get_for_node_address
?
60 seconds is too long for me.
Would this modification violate the concept of ray?
rai.init(address="127.0.0.1:6379")
in node.py
node_ip_address = ray_params.node_ip_address
if node_ip_address is None:
if connect_only:
node_ip_address = self._wait_and_get_for_node_address()
else:
node_ip_address = ray.util.get_node_ip_address()
def _wait_and_get_for_node_address(self, timeout_s: int = 60) -> str: