Commit Graph

15 Commits (859ac937a845b911537385b0db2352ef89a915ef)

Author SHA1 Message Date
Frank Schroeder 3403cd4372 golint: Fix existing comments
8 years ago
James Phillips 7c27ca1f77
Adds missing unit tests and cleans up some router bugs.
8 years ago
James Phillips 1091c7314e
Removes remoteConsuls in favor of the new router.
8 years ago
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
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 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