Hongbing Wang created RATIS-2061:
------------------------------------
Summary: 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
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)