diff options
author | Joseph Henry <josephjah@gmail.com> | 2018-09-11 16:55:46 -0700 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2018-09-11 16:55:46 -0700 |
commit | 7b87e9c0cb671227a10807c52779e8d81400d753 (patch) | |
tree | a6cc2379e7f7f7e8f99de67c7d2f0df7d648ade6 /node | |
parent | 3dd9b1aa9be18b127e86db65900fe3af00d60d04 (diff) | |
download | infinitytier-7b87e9c0cb671227a10807c52779e8d81400d753.tar.gz infinitytier-7b87e9c0cb671227a10807c52779e8d81400d753.zip |
Added ability for OneService to monitor local.conf for changes and automatically reload
Diffstat (limited to 'node')
-rw-r--r-- | node/Constants.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index 0de14b85..73a00c3e 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -276,6 +276,11 @@ #define ZT_PING_CHECK_INVERVAL 5000 /** + * How often the local.conf file is checked for changes + */ +#define ZT_LOCAL_CONF_FILE_CHECK_INTERVAL 10000 + +/** * How frequently to check for changes to the system's network interfaces. When * the service decides to use this constant it's because we want to react more * quickly to new interfaces that pop up or go down. |