X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrdcached.c;h=0a9803599520425bd3c640abf5ec1141939379e2;hb=7285e5f59ffa4efb391485fe9b35ee02f3dc856f;hp=3c5656530706c726dea0ca2c4530e4d7bf330423;hpb=115ac52ece1897146dfb145d31cb0fdb6b0dbf8f;p=collectd.git diff --git a/src/rrdcached.c b/src/rrdcached.c index 3c565653..0a980359 100644 --- a/src/rrdcached.c +++ b/src/rrdcached.c @@ -48,7 +48,7 @@ static rrdcreate_config_t rrdcreate_config = /* consolidation_functions = */ NULL, /* consolidation_functions_num = */ 0, - /* async = */ 0 + /* async = */ 0 }; /* @@ -463,6 +463,8 @@ static int rc_write (const data_set_t *ds, const value_list_t *vl, filename); return (-1); } + else if (rrdcreate_config.async) + return (0); } }