[Bug] Set internal _syncAfter using only AutomaticRefreshInterval - ConfigurationManager updating keys too frequently #2866
Labels
Bug
Product is not functioning as expected
P1
More important, prioritize highly
Regression:perf
performance related regression
Milestone
The internal _syncAfter field controls if metadata is refreshed (http call).
The value was set to the minimum of AutomaticRefreshInterval and RefreshInterval.
RefreshInterval controls the interval that must pass for RequestRefresh() to make an http call.
RefreshInterval is usually a much smaller timespan, so in effect many more calls would be made to obtain metadata.
This fix only uses the AutomaticRefreshInterval to set _syncAfter.
This has the side effect of extending the time for the next AutomaticRequest, however, that makes sense.
The text was updated successfully, but these errors were encountered: