summaryrefslogtreecommitdiff
path: root/internal/flags/flags_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-27 23:04:55 +0200
committerPaul Buetow <paul@buetow.org>2026-02-27 23:04:55 +0200
commitf16162fc01429c1759adb4a63ba9a31f229e1603 (patch)
tree2c9e28ff20f1efc7918b5b2ea16558f50cc63217 /internal/flags/flags_test.go
parent89e864669d62a88f337c02d2097de4afb37e6333 (diff)
flamegraph: default live update interval to 200ms
Diffstat (limited to 'internal/flags/flags_test.go')
-rw-r--r--internal/flags/flags_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/flags/flags_test.go b/internal/flags/flags_test.go
index 872a597..9fc6570 100644
--- a/internal/flags/flags_test.go
+++ b/internal/flags/flags_test.go
@@ -70,8 +70,8 @@ func TestParseLiveDefaults(t *testing.T) {
if cfg.LiveFlamegraph {
t.Fatalf("expected live mode disabled by default")
}
- if cfg.LiveInterval != time.Second {
- t.Fatalf("default live interval = %v, want %v", cfg.LiveInterval, time.Second)
+ if cfg.LiveInterval != 200*time.Millisecond {
+ t.Fatalf("default live interval = %v, want %v", cfg.LiveInterval, 200*time.Millisecond)
}
}