Skip to content

Commit

Permalink
Increase jitter cap to 30 seconds
Browse files Browse the repository at this point in the history
This is a quick fix until PR prometheus-community#82 [0] has landed upstream.

[0]: prometheus-community#82
  • Loading branch information
Linus Wallgren committed Sep 3, 2020
1 parent 753361c commit c5951a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func newJitter() decorrelatedJitter {
rand.Seed(time.Now().UnixNano())
return decorrelatedJitter{
min: 50 * time.Millisecond,
cap: 5 * time.Second,
cap: 30 * time.Second,
}
}

Expand Down

0 comments on commit c5951a8

Please sign in to comment.