X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrdtool.c;h=b1d13ee3c19ee279c836741739b521359872c63b;hb=6d85a198dd90fb5af963ad847d9dbff7b8025c46;hp=e5f964e5bdc4fe01084267ee0b821e298fd42650;hpb=400596160704146845940d7d9c4f794c0d2ddc03;p=collectd.git diff --git a/src/rrdtool.c b/src/rrdtool.c index e5f964e5..b1d13ee3 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -1164,17 +1164,6 @@ static int rrd_init (void) if (rrdcreate_config.heartbeat <= 0) rrdcreate_config.heartbeat = 2 * rrdcreate_config.stepsize; - if ((rrdcreate_config.heartbeat > 0) - && (rrdcreate_config.heartbeat < CDTIME_T_TO_TIME_T (interval_g))) - WARNING ("rrdtool plugin: Your `heartbeat' is " - "smaller than your `interval'. This will " - "likely cause problems."); - else if ((rrdcreate_config.stepsize > 0) - && (rrdcreate_config.stepsize < CDTIME_T_TO_TIME_T (interval_g))) - WARNING ("rrdtool plugin: Your `stepsize' is " - "smaller than your `interval'. This will " - "create needlessly big RRD-files."); - /* Set the cache up */ pthread_mutex_lock (&cache_lock); @@ -1195,7 +1184,7 @@ static int rrd_init (void) pthread_mutex_unlock (&cache_lock); - status = pthread_create (&queue_thread, /* attr = */ NULL, + status = plugin_thread_create (&queue_thread, /* attr = */ NULL, rrd_queue_thread, /* args = */ NULL); if (status != 0) {