Skip to content

Commit 6dcb581

Browse files
committed
feat(env): add BenchCmdTimeout constant for configurable benchmark timeout
1 parent 01257e6 commit 6dcb581

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/env/env.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const (
88
// BenchTrace if set to "true" will enable detailed benchmark statistics (min, median, mean, p95, max)
99
BenchTrace = "CLI_BENCH_TRACE"
1010

11+
// BenchCmdTimeout sets the command timeout for benchmarks (e.g., "30s", "1m"). Default: 30s
12+
BenchCmdTimeout = "CLI_BENCH_CMD_TIMEOUT"
13+
1114
// UpdateCassettes if set to "true" will trigger the cassettes to be recorded
1215
UpdateCassettes = "CLI_UPDATE_CASSETTES"
1316

0 commit comments

Comments
 (0)