diff options
author | Joseph Henry <josephjah@gmail.com> | 2017-02-16 16:56:23 -0800 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2017-02-16 16:56:23 -0800 |
commit | e4135ffb351020b135695ac800c7ac33d1200c1e (patch) | |
tree | 267fcee263bbb9a1857e15bdfbed3872191bde75 | |
parent | b5b335a6f844a21ac23e260b6deb8f69bdc61129 (diff) | |
download | infinitytier-e4135ffb351020b135695ac800c7ac33d1200c1e.tar.gz infinitytier-e4135ffb351020b135695ac800c7ac33d1200c1e.zip |
Decreased ZT_BINDER_REFRESH_PERIOD for Synology build
-rw-r--r-- | osdep/Binder.hpp | 8 |
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 { /** |