Commit Graph

10 Commits (fbfb90a694f821936f8a84680b3da68c1bfb8a8c)

Author SHA1 Message Date
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 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