11 Commits (240e71c3bf7056a63bb41ba6f0603eaca27abb4c)

Author SHA1 Message Date
Sean Chittenden d695bcaae6 Use a cryptographically secure seed 9 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 4584e70636 Add lib.AbsInt() helper function 9 years ago
Sean Chittenden 88c42f4056 Move lib's tests to lib_test 9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response... 9 years ago
Sean Chittenden 4fec6a9608 Guard against very small or negative rates 9 years ago
Sean Chittenden d2745081f3 Allow adjusting the number of DNS records in a response... 9 years ago
Sean Chittenden 088e3ee26b Cull unused function and its unit test. 9 years ago
Sean Chittenden 1b551456bd Cull unused function and its unit test. 9 years ago
Sean Chittenden 81e1e1c05d Cull unused function and its unit test. 9 years ago
Sean Chittenden 6c1bb78d06 Cull unused function and its unit test. 9 years ago
Sean Chittenden 4382c1f7aa Always seed math/rand on consul startup 9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package 9 years ago