From e4135ffb351020b135695ac800c7ac33d1200c1e Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Thu, 16 Feb 2017 16:56:23 -0800 Subject: [PATCH] Decreased ZT_BINDER_REFRESH_PERIOD for Synology build --- osdep/Binder.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/osdep/Binder.hpp b/osdep/Binder.hpp index 9829f1703..accff86fa 100644 --- a/osdep/Binder.hpp +++ b/osdep/Binder.hpp @@ -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 { /**