mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 05:45:24 +08:00
Consistent Name for Process Title (#6276)
* Consistent naming for setprotitle * Address comments * Add debug/verbose mode * Fix test
This commit is contained in:
@@ -1094,7 +1094,7 @@ def connect(node,
|
||||
# TODO(qwang): Rename this to `worker_id_str` or type to `WorkerID`
|
||||
worker.worker_id = _random_string()
|
||||
if setproctitle:
|
||||
setproctitle.setproctitle("ray_worker")
|
||||
setproctitle.setproctitle("ray::IDLE")
|
||||
elif mode is LOCAL_MODE:
|
||||
# Code path of local mode
|
||||
if job_id is None:
|
||||
|
||||
Reference in New Issue
Block a user