Closed amerjusupovic closed 8 months ago
if (_mappedData == null)
Is this only triggered during refresh? If so, it means the startup is already done (though initial configuration load had failed). We shouldn't use the startup logic here, because if anything fails here it will be tried again in the next refresh. #Closed
Refers to: src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationProvider.cs:211 in c8ada35. [](commit_id = c8ada35504eb98d64cbb06ed008a2354f58eadf7, deletion_comment = False)
pr example usage needs an update.
@amerjusupovic will you be updating the target branch to preview?
StartupOptions and the Timeout property
This PR adds the new
Startup
property toAzureAppConfigurationOptions
. You can set theStartup.Timeout
property equal to aTimeSpan
that represents how long the provider should continue retrying the store and replicas passed to the provider before failing.Example usage: