Decreased ZT_BINDER_REFRESH_PERIOD for Synology build

This commit is contained in:
Joseph Henry 2017-02-16 16:56:23 -08:00
parent b5b335a6f8
commit e4135ffb35

View File

@ -63,8 +63,12 @@
*
* OneService also does this on detected restarts.
*/
#define ZT_BINDER_REFRESH_PERIOD 30000
#ifdef __SYNOLOGY___
// Synology devices like to kill routes, check more often and re-add
#define ZT_BINDER_REFRESH_PERIOD 10000
#else
#define ZT_BINDER_REFRESH_PERIOD 30000
#endif
namespace ZeroTier {
/**