7 Commits (18831-backport1.14.10)

Author SHA1 Message Date
Alex Dadgar 358e6827cd
Update cluster.go 7 years ago
Alex Dadgar 6d0b9f4dac Integer division rounding to zero for rate scaling 7 years ago
Frank Schroeder 3403cd4372 golint: Fix existing comments 8 years ago
Sean Chittenden da298f527d Guard against divide by zero in lib.RandomStagger() 9 years ago
Sean Chittenden 3a6be9cab0 Add a helper function DurationMinusBuffer() to calculate an interval 9 years ago
Sean Chittenden 4fec6a9608 Guard against very small or negative rates 9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package 9 years ago