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:
Drashna Jaelre authored and Jack Humbert committed 2018-05-15 22:33:53 -04:00
1 parent 323cd35767
commit a572323f94
2 files changed
+6 -3

No files matched your search

+4
View File
@@ -18,6 +18,10 @@
#include "process_leader.h"
#ifndef LEADER_TIMEOUT
#define LEADER_TIMEOUT 300
#endif
__attribute__ ((weak))
void leader_start(void) {}