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 56752fd commit 74af63aCopy full SHA for 74af63a
src/Microsoft.IdentityModel.Protocols/Configuration/ConfigurationManager.cs
@@ -175,7 +175,7 @@ public async Task<T> GetConfigurationAsync(CancellationToken cancel)
175
_lastRefresh = utcNow;
176
// Add a random amount between 0 and 5% of AutomaticRefreshInterval jitter to avoid spike traffic to IdentityProvider.
177
_syncAfter = DateTimeUtil.Add(utcNow.UtcDateTime, AutomaticRefreshInterval +
178
- TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
+ TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
179
_currentConfiguration = configuration;
180
}
181
catch (Exception ex)
0 commit comments