mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 08:53:44 +08:00
[autoscaler] Add an aggressive_autoscaling flag (#4285)
This commit is contained in:
committed by
Robert Nishihara
parent
56a78baf67
commit
3e1adafbce
@@ -220,6 +220,8 @@ def get_node_ip_address(address="8.8.8.8:53"):
|
||||
node_ip_address = socket.gethostbyname(host_name)
|
||||
except Exception:
|
||||
pass
|
||||
finally:
|
||||
s.close()
|
||||
|
||||
return node_ip_address
|
||||
|
||||
|
||||
Reference in New Issue
Block a user