mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Decreased ZT_BINDER_REFRESH_PERIOD for Synology build
This commit is contained in:
parent
b5b335a6f8
commit
e4135ffb35
1 changed files with 6 additions and 2 deletions
|
@ -63,8 +63,12 @@
|
||||||
*
|
*
|
||||||
* OneService also does this on detected restarts.
|
* OneService also does this on detected restarts.
|
||||||
*/
|
*/
|
||||||
|
#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
|
#define ZT_BINDER_REFRESH_PERIOD 30000
|
||||||
|
#endif
|
||||||
namespace ZeroTier {
|
namespace ZeroTier {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue