mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 00:49:16 +08:00
Fix password authentication in worker (#3124)
This commit is contained in:
committed by
Robert Nishihara
parent
8356a01dd6
commit
f3efcd2342
@@ -1227,6 +1227,8 @@ def start_raylet_monitor(redis_address,
|
||||
gcs_ip_address, gcs_port = redis_address.split(":")
|
||||
redis_password = redis_password or ""
|
||||
command = [RAYLET_MONITOR_EXECUTABLE, gcs_ip_address, gcs_port]
|
||||
if redis_password:
|
||||
command += [redis_password]
|
||||
p = subprocess.Popen(command, stdout=stdout_file, stderr=stderr_file)
|
||||
if cleanup:
|
||||
all_processes[PROCESS_TYPE_MONITOR].append(p)
|
||||
|
||||
Reference in New Issue
Block a user