forked from netdata/netdata
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix aclk timeout * added workers to aclk thread
- Loading branch information
Showing
7 changed files
with
114 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
#ifndef NETDATA_ACLK_MQTT_WORKERS_H | ||
#define NETDATA_ACLK_MQTT_WORKERS_H | ||
|
||
#define WORKER_ACLK_WAIT_CLAIMING 0 | ||
#define WORKER_ACLK_CONNECT 1 | ||
#define WORKER_ACLK_NODE_UPDATE 2 | ||
#define WORKER_ACLK_HANDLE_CONNECTION 3 | ||
#define WORKER_ACLK_DISCONNECTED 4 | ||
#define WORKER_ACLK_CMD_DISCONNECT 5 | ||
#define WORKER_ACLK_CMD_TIMEOUT 6 | ||
#define WORKER_ACLK_CMD_RELOAD_CONF 7 | ||
#define WORKER_ACLK_CMD_UNKNOWN 8 | ||
#define WORKER_ACLK_SENT_PING 9 | ||
#define WORKER_ACLK_POLL_ERROR 10 | ||
#define WORKER_ACLK_POLL_OK 11 | ||
#define WORKER_ACLK_RX 12 | ||
#define WORKER_ACLK_RX_ERROR 13 | ||
#define WORKER_ACLK_PROCESS_RAW 14 | ||
#define WORKER_ACLK_PROCESS_HANDSHAKE 15 | ||
#define WORKER_ACLK_PROCESS_ESTABLISHED 16 | ||
#define WORKER_ACLK_PROCESS_ERROR 17 | ||
#define WORKER_ACLK_PROCESS_CLOSED_GRACEFULLY 18 | ||
#define WORKER_ACLK_PROCESS_UNKNOWN 19 | ||
#define WORKER_ACLK_HANDLE_MQTT_INTERNAL 20 | ||
#define WORKER_ACLK_TX 21 | ||
#define WORKER_ACLK_TX_ERROR 22 | ||
|
||
#endif //NETDATA_ACLK_MQTT_WORKERS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters