Add comment

pull/19285/head
Chris S. Kim 1 year ago
parent fcc9ee6542
commit 61d1c264d8

@ -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,

Loading…
Cancel
Save