summaryrefslogtreecommitdiffstats
path: root/database/rrdhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'database/rrdhost.c')
-rw-r--r--database/rrdhost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/database/rrdhost.c b/database/rrdhost.c
index 88e411de8..69e4beabf 100644
--- a/database/rrdhost.c
+++ b/database/rrdhost.c
@@ -257,8 +257,7 @@ static void rrdhost_initialize_rrdpush_sender(RRDHOST *host,
rrdhost_streaming_sender_structures_init(host);
#ifdef ENABLE_HTTPS
- host->sender->ssl.conn = NULL;
- host->sender->ssl.flags = NETDATA_SSL_START;
+ host->sender->ssl = NETDATA_SSL_UNSET_CONNECTION;
#endif
host->rrdpush_send_destination = strdupz(rrdpush_destination);
@@ -341,6 +340,7 @@ int is_legacy = 1;
host->rrdpush_seconds_to_replicate = rrdpush_seconds_to_replicate;
host->rrdpush_replication_step = rrdpush_replication_step;
+ host->rrdpush_receiver_replication_percent = 100.0;
switch(memory_mode) {
default: