This is an automated email from the ASF dual-hosted git repository. szetszwo pushed a commit to branch branch-2_tmp in repository https://gitbox.apache.org/repos/asf/ratis.git
commit 17bd8c5af37e1bd3090c4425d2a8bcdb20b0f744 Author: William Song <[email protected]> AuthorDate: Sun Oct 23 23:24:48 2022 +0800 RATIS-1727. Rename GrpcConfigKeys hearbeatChannel 'useCached' to 'useSeparate' (#767) (cherry picked from commit 7c104be47d2a94af856c1215a69d58f6831fec71) --- ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java index 8163d18de..febf54172 100644 --- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java +++ b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java @@ -240,8 +240,8 @@ public interface GrpcConfigKeys { return getBoolean(properties::getBoolean, HEARTBEAT_CHANNEL_KEY, HEARTBEAT_CHANNEL_DEFAULT, getDefaultLog()); } - static void setHeartbeatChannel(RaftProperties properties, boolean useCached) { - setBoolean(properties::setBoolean, HEARTBEAT_CHANNEL_KEY, useCached); + static void setHeartbeatChannel(RaftProperties properties, boolean useSeparate) { + setBoolean(properties::setBoolean, HEARTBEAT_CHANNEL_KEY, useSeparate); } }
