Automatic periodic status dump from controller.
This commit is contained in:
parent
ae65eb5105
commit
31785f7f6e
3 changed files with 52 additions and 52 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue