summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-09-11 16:55:46 -0700
committerJoseph Henry <josephjah@gmail.com>2018-09-11 16:55:46 -0700
commit7b87e9c0cb671227a10807c52779e8d81400d753 (patch)
treea6cc2379e7f7f7e8f99de67c7d2f0df7d648ade6 /node
parent3dd9b1aa9be18b127e86db65900fe3af00d60d04 (diff)
downloadinfinitytier-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.hpp5
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.