Skip to content

Use time-based retry for startup #458

@zhenlan

Description

@zhenlan

Problem

The provider uses count-based retry today. If an App Configuration store experiences transient errors (eg., momentary throttling), the provider may give up too quickly with a couple of retries (may only take a few milliseconds or seconds). This can cause applications to fail to start and blackout.

Proposal

The proposal is to use a time-based retry logic for the startup. We may allow the retry time to be customized, but the provider should have a default value that is reasonably long enough, for example, 1 minute. This way, the provider won't give up too quickly. Note:

  • This is for startup only. We don't need to do this for refresh. The refresh happens periodically. We don't want a refresh to last too long.
  • This should include calls to the Key Vault too (for Key Vault reference)

cc @jimmyca15 @drago-draganov @avanigupta

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions