Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
lintanghui committed Jul 17, 2023
1 parent 6b448bb commit feb5ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braft/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ int NodeImpl::init(const NodeOptions& options) {
CHECK_EQ(0, _election_timer.init(this, options.election_timeout_ms * 2));
CHECK_EQ(0, _vote_timer.init(this, options.election_timeout_ms * 2 + options.max_clock_drift_ms));
}
}else {
} else {
CHECK_EQ(0, _election_timer.init(this, options.election_timeout_ms));
CHECK_EQ(0, _vote_timer.init(this, options.election_timeout_ms + options.max_clock_drift_ms));
}
Expand Down

0 comments on commit feb5ac4

Please sign in to comment.