diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-18 15:36:33 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-18 15:36:33 -0700 |
commit | 31785f7f6ec27e826efc3cc2b45979e5d58f37bb (patch) | |
tree | 29f929555509bae146e54624ac35d00af6550a0d /controller/EmbeddedNetworkController.hpp | |
parent | ae65eb5105d66859ff4c8b4aefdf4993fe6bc35c (diff) | |
download | infinitytier-31785f7f6ec27e826efc3cc2b45979e5d58f37bb.tar.gz infinitytier-31785f7f6ec27e826efc3cc2b45979e5d58f37bb.zip |
Automatic periodic status dump from controller.
Diffstat (limited to 'controller/EmbeddedNetworkController.hpp')
-rw-r--r-- | controller/EmbeddedNetworkController.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/EmbeddedNetworkController.hpp b/controller/EmbeddedNetworkController.hpp index c2dc55b5..8752922e 100644 --- a/controller/EmbeddedNetworkController.hpp +++ b/controller/EmbeddedNetworkController.hpp @@ -105,8 +105,7 @@ private: Identity identity; Dictionary<ZT_NETWORKCONFIG_METADATA_DICT_CAPACITY> metaData; enum { - RQENTRY_TYPE_REQUEST = 0, - RQENTRY_TYPE_PING = 1 + RQENTRY_TYPE_REQUEST = 0 } type; }; @@ -210,6 +209,7 @@ private: volatile bool _running; BlockingQueue<_RQEntry *> _queue; std::vector<Thread> _threads; + volatile uint64_t _lastDumpedStatus; Mutex _threads_m; JSONDB _db; |