]> git.ipfire.org Git - telemetry.git/commitdiff
module: Fix the heartbeat of the RRD database
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Sep 2025 10:57:34 +0000 (10:57 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Sep 2025 10:57:34 +0000 (10:57 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/module.c

index 4c4aebc4c1b8e2574af63b65ba4c5d200a08fd3c..103c105241db6367eba87711e8f844fa50e8ff0f 100644 (file)
@@ -323,7 +323,7 @@ static int collecty_module_create_database(collecty_module* self, const char* pa
 
                // Add the DS line
                r = collecty_args_push(args, "DS:%s:%s:%d:%s:%s",
-                               ds->field, ds->type, HEARTBEAT * 2, min, max);
+                               ds->field, ds->type, STEPSIZE * 2, min, max);
                if (r < 0)
                        goto ERROR;
        }