[
https://issues.apache.org/jira/browse/RATIS-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-2061.
-------------------------------
Fix Version/s: 3.1.0
Assignee: Hongbing Wang
Resolution: Fixed
The pull request is now merged. Thanks, [~wanghongbing]!
> Fix setCloseThreshold parameter in RaftServerConfigKeys
> -------------------------------------------------------
>
> Key: RATIS-2061
> URL: https://issues.apache.org/jira/browse/RATIS-2061
> Project: Ratis
> Issue Type: Bug
> Components: API
> Affects Versions: 3.0.1
> Reporter: Hongbing Wang
> Assignee: Hongbing Wang
> Priority: Major
> Fix For: 3.1.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> in RaftServerConfigKeys:
> {code:java}
> static void setCloseThreshold(RaftProperties properties, int thresholdMs) {
> setInt(properties::setInt, CLOSE_THRESHOLD_KEY, thresholdMs);
> } {code}
> `int thresholdMs` is misrepresented as milliseconds while the correct unit is
> seconds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)