SzyWilliam commented on code in PR #713:
URL: https://github.com/apache/ratis/pull/713#discussion_r949125834
##########
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServerConfigKeys.java:
##########
@@ -626,6 +626,29 @@ static void setTimeoutMax(RaftProperties properties,
TimeDuration maxDuration) {
setTimeDuration(properties::setTimeDuration, TIMEOUT_MAX_KEY,
maxDuration);
}
+ /** separate first timeout so that the startup unavailable time can be
reduced */
+ String FIRST_TIMEOUT_MIN_KEY = PREFIX + ".first.timeout.min";
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]