Skip to content

Commit

Permalink
increase election timer
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Dec 20, 2021
1 parent 2595b7b commit 22ea22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovsdb/raft.c
Expand Up @@ -199,7 +199,7 @@ struct raft {
* most recently added to 'log'. */
struct hmap servers;

#define ELECTION_BASE_MSEC 1000
#define ELECTION_BASE_MSEC 5000
#define ELECTION_RANGE_MSEC 1000
#define ELECTION_MIN_MSEC 100
#define ELECTION_MAX_MSEC 600000
Expand Down

0 comments on commit 22ea22c

Please sign in to comment.