Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 8031b63

Browse files
committed
faster
1 parent a66ffd1 commit 8031b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/dataprocessor_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,9 @@ func TestGetSeriesCachedStore(t *testing.T) {
539539
// - from first ts to last ts
540540
// - from last ts to last ts
541541
// and various ranges between
542-
// we increment from and to in tenths of a span,
542+
// we increment from and to in thirds of a span,
543543
// because incrementing by 1 would be needlessly expensive
544-
step := span / 10
544+
step := span / 3
545545
for from := start; from <= lastTs; from += step {
546546
for to := from; to <= lastTs; to += step {
547547
fmt.Println(from, to)

0 commit comments

Comments
 (0)