szetszwo commented on code in PR #1629:
URL: https://github.com/apache/ratis/pull/1629#discussion_r4232830629
##########
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServerConfigKeys.java:
##########
@@ -103,6 +103,16 @@ static void setCloseThreshold(RaftProperties properties,
TimeDuration threshold)
setTimeDuration(properties::setTimeDuration, CLOSE_THRESHOLD_KEY,
threshold);
}
+ String EXECUTOR_SHUTDOWN_WAIT_KEY = PREFIX + ".executor.shutdown.wait";
+ TimeDuration EXECUTOR_SHUTDOWN_WAIT_DEFAULT = TimeDuration.ONE_DAY;
Review Comment:
@amaliujia , thanks for working on this! Just have a comment below:
Let's change the default to ONE_HOUR (need to add TimeDuration.ONE_HOUR).
ONE_DAY does not seem to make sense.
--
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]