Commit Graph

124 Commits (74158a8aa29e74a1887099798b185b9c68078d0f)

Author SHA1 Message Date
James Phillips d12e81860f
Moves Serf helper into lib to fix import cycle in consul-enterprise.
7 years ago
James Phillips fe36ed6412
Bumps freeport's block size.
7 years ago
Alex Dadgar 358e6827cd
Update cluster.go
7 years ago
Alex Dadgar 6d0b9f4dac Integer division rounding to zero for rate scaling
7 years ago
Alex Dadgar 0fccef237d Initialize freeport lazily to avoid runtime issues
7 years ago
Alex Dadgar 17dcbb1912 Make freeport testing friendly
7 years ago
Frank Schroeder c94751ad43 test: replace porter tool with freeport lib
7 years ago
James Phillips bb12368eac Makes RPC handling more robust when rolling servers. (#3561)
7 years ago
James Phillips b1a15e0c3d
Adds open source side of network segments (feature is Enterprise-only).
7 years ago
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