mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 07:58:26 +08:00
[Core] Use node ip address properly in ray.init (#10829)
* Fix. * Addressed code review. * Addressed code review.
This commit is contained in:
@@ -104,6 +104,7 @@ class Node:
|
||||
head), "LRU Evict can only be passed into the head node."
|
||||
|
||||
self._raylet_ip_address = raylet_ip_address
|
||||
|
||||
self.metrics_agent_port = (ray_params.metrics_agent_port
|
||||
or self._get_unused_port()[0])
|
||||
self._metrics_export_port = ray_params.metrics_export_port
|
||||
|
||||
Reference in New Issue
Block a user