summaryrefslogtreecommitdiffstats
path: root/streaming/rrdpush.h
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-01-14 00:09:02 +0200
committerGitHub <noreply@github.com>2023-01-14 00:09:02 +0200
commitf10f19c8c8bba37e8364fa6138d6ea0f6160c3ea (patch)
tree6d71bc40d56362dd4de892239a633bdcfa2183be /streaming/rrdpush.h
parent3e2924fd466dbc05338518412f426d34b215ef0b (diff)
More 32bit fixes (#14264)
* query planer weight calculation using long long * adjust replication query ahead pipeline for smaller systems * do not generate huge replication messages * add message to indicate replication message was interrupted * improved message * max replication size 25% of sender buffer * fix for last commit * use less cache and smaller page sizes and fewer threads on 32-bits * fix reserved libuv workers for 32bits * fix detection of 32/64 bit
Diffstat (limited to 'streaming/rrdpush.h')
-rw-r--r--streaming/rrdpush.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h
index 222a23bb07..406fdcdcb2 100644
--- a/streaming/rrdpush.h
+++ b/streaming/rrdpush.h
@@ -161,6 +161,8 @@ struct sender_state {
int rrdpush_sender_pipe[2]; // collector to sender thread signaling
int rrdpush_sender_socket;
+ uint16_t hops;
+
#ifdef ENABLE_COMPRESSION
struct compressor_state *compressor;
#endif
@@ -232,6 +234,8 @@ struct receiver_state {
char read_buffer[PLUGINSD_LINE_MAX + 1];
int read_len;
+ uint16_t hops;
+
struct {
bool shutdown; // signal the streaming parser to exit
const char *reason; // the reason of disconnection to log