Skip to content

Commit

Permalink
raft.rs: revoke pub of pre_vote,can set it in Config
Browse files Browse the repository at this point in the history
  • Loading branch information
july2993 committed Mar 23, 2018
1 parent eba8624 commit 28ca621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub struct Raft<T: Storage> {
heartbeat_elapsed: usize,

pub check_quorum: bool,
pub pre_vote: bool,
pre_vote: bool,
skip_bcast_commit: bool,

heartbeat_timeout: usize,
Expand Down

0 comments on commit 28ca621

Please sign in to comment.