Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GCS FT] Update Redis connection configs (#40860)
## Why are these changes needed? ``` RAY_CONFIG(int64_t, redis_db_connect_retries, 120) RAY_CONFIG(int64_t, redis_db_connect_wait_milliseconds, 500) ``` `redis_db_connect_retries * redis_db_connect_wait_milliseconds` is not the upper bound but the lower bound for the timeout of reconnection. Check the function [ConnectWithRetries](https://sourcegraph.com/github.com/ray-project/ray@ray-2.7.1/-/blob/src/ray/gcs/redis_context.cc?L360) for more details. In my experiments, the combination of `redis_db_connect_retries = 600` and `redis_db_connect_wait_milliseconds = 100` takes 13 mins to fail. See [this gist](https://gist.github.com/kevin85421/271841ddc5816340765a44520de834c1) for more details about the experiment. The combination of `redis_db_connect_retries = 120` and `redis_db_connect_wait_milliseconds = 500` takes 3m10s to fail. See [this gist](https://gist.github.com/kevin85421/63fc2936430472213396c59e1a8a7783) for more details.
- Loading branch information