From 31785f7f6ec27e826efc3cc2b45979e5d58f37bb Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 18 Jul 2017 15:36:33 -0700 Subject: Automatic periodic status dump from controller. --- controller/EmbeddedNetworkController.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controller/EmbeddedNetworkController.hpp') 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 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 _threads; + volatile uint64_t _lastDumpedStatus; Mutex _threads_m; JSONDB _db; -- cgit v1.2.3