From 735f1245fe209270344b41a12dab132cb3ff13bb Mon Sep 17 00:00:00 2001 From: kruskall <99559985+kruskall@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:00:25 +0200 Subject: [PATCH] feat: default rewrite-ids and rewrite-timestamp to true (#154) to avoid breaking changes default to rewriting ids and timestamps the flag were being ignored and always true before a recent fix so this PR keep the behaviour for when no flag is set. --- internal/loadgen/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/loadgen/config/config.go b/internal/loadgen/config/config.go index e0034d5..0c8f3aa 100644 --- a/internal/loadgen/config/config.go +++ b/internal/loadgen/config/config.go @@ -86,14 +86,14 @@ func init() { flag.BoolVar( &Config.RewriteTimestamps, "rewrite-timestamps", - false, + true, "rewrite event timestamps every iteration, maintaining relative offsets", ) flag.BoolVar( &Config.RewriteIDs, "rewrite-ids", - false, + true, "rewrite event IDs every iteration, maintaining event relationships", ) flag.Func("header",