Skip to content

Commit

Permalink
Add sample limit for running benchmarks
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
  • Loading branch information
tpaschalis committed Dec 20, 2023
1 parent 7dee9d0 commit 72e1bba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/remote/queue_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ func BenchmarkSampleSend(b *testing.B) {
cfg.BatchSendDeadline = model.Duration(100 * time.Millisecond)
cfg.MinShards = 20
cfg.MaxShards = 20
cfg.SampleAgeLimit = model.Duration(60 * time.Second)

dir := b.TempDir()

Expand Down

0 comments on commit 72e1bba

Please sign in to comment.