From d4dbd27e0d4b30561305af87526caa64169e42d5 Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Mon, 19 Nov 2018 16:23:59 -0800 Subject: [PATCH] Don't retry IPC connect an absurd number of times (#3355) --- src/ray/ray_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ray/ray_config.h b/src/ray/ray_config.h index 2306b89c3..480c976a5 100644 --- a/src/ray/ray_config.h +++ b/src/ray/ray_config.h @@ -209,8 +209,8 @@ class RayConfig { worker_fetch_request_size_(10000), max_lineage_size_(100), actor_max_dummy_objects_(1000), - num_connect_attempts_(50), - connect_timeout_milliseconds_(100), + num_connect_attempts_(5), + connect_timeout_milliseconds_(500), local_scheduler_fetch_timeout_milliseconds_(1000), local_scheduler_reconstruction_timeout_milliseconds_(1000), max_num_to_reconstruct_(10000),