17594a123e
When we receive a FailedPrecondition error, retry that more quickly because we expect it will resolve shortly. This is particularly important in the context of Consul servers behind a load balancer because when establishing a connection we have to retry until we randomly land on a leader node. The default retry backoff goes from 2s, 4s, 8s, etc. which can result in very long delays quite quickly. Instead, this backoff retries in 8ms five times, then goes exponentially from there: 16ms, 32ms, ... up to a max of 8152ms. |
||
---|---|---|
.. | ||
health_snapshot.go | ||
health_snapshot_test.go | ||
mock_ACLResolver.go | ||
replication.go | ||
server.go | ||
stream_resources.go | ||
stream_test.go | ||
stream_tracker.go | ||
stream_tracker_test.go | ||
subscription_blocking.go | ||
subscription_manager.go | ||
subscription_manager_test.go | ||
subscription_state.go | ||
subscription_state_test.go | ||
subscription_view.go | ||
subscription_view_test.go | ||
testing.go |