Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
scv119 committed Jan 13, 2023
1 parent 4fe708c commit c5cc355
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/ray/common/grpc_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ inline grpc::ChannelArguments CreateDefaultChannelArguments() {
::RayConfig::instance().grpc_client_keepalive_time_ms());
arguments.SetInt(GRPC_ARG_KEEPALIVE_TIMEOUT_MS,
::RayConfig::instance().grpc_client_keepalive_timeout_ms());
arguments.SetInt(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS, 1);
}
return arguments;
}
Expand Down
2 changes: 1 addition & 1 deletion src/ray/common/ray_config_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ RAY_CONFIG(int64_t, grpc_keepalive_timeout_ms, 20000)
/// and this configuration break that assumption. We should apply to every other component
/// after we change this failure assumption from code.
/// grpc keepalive timeout for client.
RAY_CONFIG(int64_t, grpc_client_keepalive_time_ms, 160000)
RAY_CONFIG(int64_t, grpc_client_keepalive_time_ms, 300000)

/// grpc keepalive timeout for client.
RAY_CONFIG(int64_t, grpc_client_keepalive_timeout_ms, 120000)
Expand Down

0 comments on commit c5cc355

Please sign in to comment.