Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core][dashboard][agent] add configurable timeouts for rt env agent a…
…nd job_supervisor (#47481) GcsClient has a configurable timeout `nums_py_gcs_reconnect_retry`. However in GcsAioClient it's default to 5 and there's no way to control it. This PR changes the caller to use the flag `gcs_rpc_server_reconnect_timeout_s` to make it configurable. It's already used in agent.py but not in rt env agent and job_supervisor. This PR fixes all GcsAioClient caller in non-test python codebase. Note that head.py has retry=0 which should mean infinite retry but it did not work. Fixes by checking 0-ness. Signed-off-by: Ruiyang Wang <rywang014@gmail.com>
- Loading branch information