Consistent Name for Process Title (#6276)

* Consistent naming for setprotitle

* Address comments

* Add debug/verbose mode

* Fix test
This commit is contained in:
Simon Mo
2019-11-26 11:56:28 -08:00
committed by Eric Liang
parent 141d667cee
commit 1ca8c427e3
4 changed files with 22 additions and 11 deletions
+1 -1
View File
@@ -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: