summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osdep/Binder.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/osdep/Binder.hpp b/osdep/Binder.hpp
index 9829f170..accff86f 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 {
/**