mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 01:55:25 +08:00
Remove unused logging job id field (#12266)
This commit is contained in:
@@ -1169,11 +1169,6 @@ def connect(node,
|
||||
raise ValueError(
|
||||
"Invalid worker mode. Expected DRIVER, WORKER or LOCAL.")
|
||||
|
||||
# TODO (Alex): `current_logging_job` tracks the current job so that we know
|
||||
# when to switch log files. If all logging functionaility was moved to c++,
|
||||
# the functionaility in `_raylet.pyx::switch_worker_log_if_necessary` could
|
||||
# be moved to `CoreWorker::SetCurrentTaskId()`.
|
||||
worker.current_logging_job_id = None
|
||||
redis_address, redis_port = node.redis_address.split(":")
|
||||
gcs_options = ray._raylet.GcsClientOptions(
|
||||
redis_address,
|
||||
|
||||
Reference in New Issue
Block a user