mirror of
https://github.com/vale981/ray
synced 2025-03-10 21:36:39 -04:00
[Core] Pick Up GCS Port From Env Variable (#15097)
This commit is contained in:
parent
6269140ef8
commit
c1bffc2784
2 changed files with 6 additions and 0 deletions
|
@ -208,6 +208,10 @@ class Node:
|
|||
|
||||
if head:
|
||||
ray_params.update_if_absent(num_redis_shards=1)
|
||||
gcs_server_port = os.getenv(
|
||||
ray_constants.GCS_PORT_ENVIRONMENT_VARIABLE)
|
||||
if gcs_server_port:
|
||||
ray_params.update_if_absent(gcs_server_port=gcs_server_port)
|
||||
self._webui_url = None
|
||||
else:
|
||||
self._webui_url = (
|
||||
|
|
|
@ -234,3 +234,5 @@ MAX_INT64_VALUE = 9223372036854775807
|
|||
|
||||
# Object Spilling related constants
|
||||
DEFAULT_OBJECT_PREFIX = "ray_spilled_objects"
|
||||
|
||||
GCS_PORT_ENVIRONMENT_VARIABLE = "RAY_GCS_SERVER_PORT"
|
||||
|
|
Loading…
Add table
Reference in a new issue