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 3db21bd commit 377bb9bCopy full SHA for 377bb9b
src/Microsoft.IdentityModel.Protocols/Configuration/ConfigurationManager.cs
@@ -179,6 +179,7 @@ public virtual async Task<T> GetConfigurationAsync(CancellationToken cancel)
179
#endif
180
DateTimeOffset.UtcNow;
181
182
+
183
// Add a random amount between 0 and 5% of AutomaticRefreshInterval jitter to avoid spike traffic to IdentityProvider.
184
_syncAfter = DateTimeUtil.Add(utcNow.UtcDateTime, AutomaticRefreshInterval +
185
TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
0 commit comments