Skip to content

BUG: Refresh interval failed to work when there is only feature flag refresh is configured #632

@zhiyuanliang-ms

Description

@zhiyuanliang-ms

A bug reported by our customer #527

Code

_nextCollectionRefreshTime will not be set if key value refresh is not configured (kvCollectionRefreshInterval will be null). This line will always set the current time as the next refresh due which will cause refresh is always due.

The result is that if user only enabled the feature flag refresh and set a refresh interval for feature flag, each time calling TryRefreshAsync, the refresh operation will always send requests. But the refresh will happen every time.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions