Skip to content

Commit

Permalink
Merge 61d1c26 into backport/kisunji/vault-ca-fixes/truly-organic-hermit
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-consul-core authored Oct 20, 2023
2 parents db23c22 + 61d1c26 commit 51c1a88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/connect/ca/provider_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ func (v *VaultProvider) renewToken(ctx context.Context, watcher *vaultapi.Lifeti
go watcher.Start()
defer watcher.Stop()

// These values are chosen to start the exponential backoff
// immediately. Since the Vault client implements its own
// retries, this retry is mostly to avoid resource contention
// and log spam.
retrier := retry.Waiter{
MinFailures: 1,
MinWait: 1 * time.Second,
Expand Down

0 comments on commit 51c1a88

Please sign in to comment.