Code

rrdtool and rrdcached plugins: Don't update the file if ...
[collectd.git] / src / rrdcached.c
index a37b4b507ff24fe4904cac5514979eac0760b8de..0a9803599520425bd3c640abf5ec1141939379e2 100644 (file)
@@ -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);
     }
   }