// ------------------------------------------------------------------------
// collect configuration options
- if(central_netdata_to_push_data) {
- info("Backend is disabled - use the central netdata");
- goto cleanup;
- }
-
struct timeval timeout = {
.tv_sec = 0,
.tv_usec = 0
rrd_rdlock();
RRDHOST *host;
rrdhost_foreach_read(host) {
+ if(host->rrd_memory_mode == RRD_MEMORY_MODE_NONE)
+ continue;
+
rrdhost_rdlock(host);
RRDSET *st;
usec_t start_ut = now_monotonic_usec();
size_t reconnects = 0;
- sock = connect_to_one_of(destination, default_port, &timeout, &reconnects);
+ sock = connect_to_one_of(destination, default_port, &timeout, &reconnects, NULL, 0);
chart_backend_reconnects += reconnects;
chart_backend_latency += now_monotonic_usec() - start_ut;