mirror of
https://github.com/wassname/ray.git
synced 2026-07-15 11:25:40 +08:00
Increase rayelt client connect timeout to fix test_debug_tools (#8605)
This commit is contained in:
@@ -149,9 +149,9 @@ RAY_CONFIG(uint64_t, max_lineage_size, 100)
|
||||
/// objects to store.
|
||||
RAY_CONFIG(int64_t, actor_max_dummy_objects, 1000)
|
||||
|
||||
/// Number of times we try connecting to a socket.
|
||||
RAY_CONFIG(int64_t, num_connect_attempts, 5)
|
||||
RAY_CONFIG(int64_t, connect_timeout_milliseconds, 500)
|
||||
/// Number of times raylet client tries connecting to a raylet.
|
||||
RAY_CONFIG(int64_t, raylet_client_num_connect_attempts, 10)
|
||||
RAY_CONFIG(int64_t, raylet_client_connect_timeout_milliseconds, 1000)
|
||||
|
||||
/// The duration that the raylet will wait before reinitiating a
|
||||
/// fetch request for a missing task dependency. This time may adapt based on
|
||||
|
||||
@@ -54,10 +54,10 @@ raylet::RayletConnection::RayletConnection(boost::asio::io_service &io_service,
|
||||
: conn_(io_service) {
|
||||
// Pick the default values if the user did not specify.
|
||||
if (num_retries < 0) {
|
||||
num_retries = RayConfig::instance().num_connect_attempts();
|
||||
num_retries = RayConfig::instance().raylet_client_num_connect_attempts();
|
||||
}
|
||||
if (timeout < 0) {
|
||||
timeout = RayConfig::instance().connect_timeout_milliseconds();
|
||||
timeout = RayConfig::instance().raylet_client_connect_timeout_milliseconds();
|
||||
}
|
||||
RAY_CHECK(!raylet_socket.empty());
|
||||
boost::system::error_code ec;
|
||||
|
||||
Reference in New Issue
Block a user