Skip to content

Commit

Permalink
Revert CS change
Browse files Browse the repository at this point in the history
  • Loading branch information
trejjam committed May 27, 2024
1 parent 56752fd commit 74af63a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public async Task<T> GetConfigurationAsync(CancellationToken cancel)
_lastRefresh = utcNow;
// Add a random amount between 0 and 5% of AutomaticRefreshInterval jitter to avoid spike traffic to IdentityProvider.
_syncAfter = DateTimeUtil.Add(utcNow.UtcDateTime, AutomaticRefreshInterval +
TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
_currentConfiguration = configuration;
}
catch (Exception ex)
Expand Down

0 comments on commit 74af63a

Please sign in to comment.