Skip to content

Commit

Permalink
feat: default rewrite-ids and rewrite-timestamp to true (#154)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kruskall authored Sep 11, 2024
1 parent 190ce5a commit 735f124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/loadgen/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 735f124

Please sign in to comment.