Sean Chittenden d4ca349e21 Refactor out the management of Consul servers
Move the management of c.consulServers (fka c.consuls) into consul/server_manager.go.

This commit brings in a background task that proactively manages the server list and:

*) reshuffles the list
*) manages the timer out of the RPC() path
*) uses atomics to detect a server has failed

This is a WIP, more work in testing needs to be completed.
2016-03-23 16:15:47 -07:00
..
2015-12-26 20:19:36 -05:00
2014-08-22 12:34:31 -07:00
2015-09-15 13:22:08 +01:00
2015-12-18 22:14:48 -08:00