Skip to content

Commit

Permalink
move retries number to const int
Browse files Browse the repository at this point in the history
  • Loading branch information
amerjusupovic committed Oct 1, 2024
1 parent bd6930c commit f869ccd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ namespace Microsoft.Extensions.Configuration.AzureAppConfiguration
/// </summary>
public class AzureAppConfigurationKeyVaultOptions
{
private const int KeyVaultMaxRetries = 6;

internal TokenCredential Credential;
internal SecretClientOptions ClientOptions = new SecretClientOptions
{
Retry = {
MaxRetries = 6
MaxRetries = KeyVaultMaxRetries
}
};
internal List<SecretClient> SecretClients = new List<SecretClient>();
Expand Down

0 comments on commit f869ccd

Please sign in to comment.