From 7b87e9c0cb671227a10807c52779e8d81400d753 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 11 Sep 2018 16:55:46 -0700 Subject: Added ability for OneService to monitor local.conf for changes and automatically reload --- node/Constants.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'node') diff --git a/node/Constants.hpp b/node/Constants.hpp index 0de14b85..73a00c3e 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -275,6 +275,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 -- cgit v1.2.3