We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651539e commit 59d847aCopy full SHA for 59d847a
src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationProvider.cs
@@ -137,6 +137,13 @@ public AzureAppConfigurationProvider(IConfigurationClientManager configClientMan
137
MinRefreshInterval = RefreshConstants.DefaultRefreshInterval;
138
}
139
140
+ if (options.MinBackoffDuration < TimeSpan.FromSeconds(1))
141
+ {
142
+ throw new ArgumentException(
143
+ $"{nameof(options.MinBackoffDuration)} must be at least 1 second",
144
+ nameof(options));
145
+ }
146
+
147
// Enable request tracing if not opt-out
148
string requestTracingDisabled = null;
149
try
0 commit comments