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:
committed by
Jack Humbert
parent
323cd35767
commit
a572323f94
@ -18,6 +18,10 @@
|
||||
|
||||
#include "process_leader.h"
|
||||
|
||||
#ifndef LEADER_TIMEOUT
|
||||
#define LEADER_TIMEOUT 300
|
||||
#endif
|
||||
|
||||
__attribute__ ((weak))
|
||||
void leader_start(void) {}
|
||||
|
||||
|
Reference in New Issue
Block a user