Add default to LEADER_TIMEOUT in case it's not defined (#2818)
* Add default to LEADER_TIMEOUT in case it's not defined * Update Leader Timeout default
This commit is contained in:
parent
323cd35767
commit
a572323f94
2 changed files with 6 additions and 3 deletions
|
@ -18,6 +18,10 @@
|
|||
|
||||
#include "process_leader.h"
|
||||
|
||||
#ifndef LEADER_TIMEOUT
|
||||
#define LEADER_TIMEOUT 300
|
||||
#endif
|
||||
|
||||
__attribute__ ((weak))
|
||||
void leader_start(void) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue