Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .WithForceRefresh support for silent broker flows #4458

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

iulico-1
Copy link
Contributor

@iulico-1 iulico-1 commented Dec 7, 2023

Fixes #4457

Changes proposed in this request
Currently Broker flows don't allow bypassing broker cache when option .WithForceRefresh(true) is set. This PR proposes to fix that.

Testing
No e2e test infra seem to exist for e2e WAM tests.
Manual validation was done. Test app has been updated to support this option.

Performance impact
There's possibility that using builder .WithForceRefresh(true) will result in 2 network calls if the cache is already expired.

@bgavrilMS bgavrilMS force-pushed the iulico/invalidate-cache-broker branch from d410edf to 07f3b97 Compare December 7, 2023 13:03
ForceRefresh + WAM test (#4459)
@bgavrilMS
Copy link
Member

@pmaytak - as you are on-call, can you please review this? The HOW has been discussed internally.

@bgavrilMS bgavrilMS merged commit 10361c8 into main Dec 7, 2023
@bgavrilMS bgavrilMS deleted the iulico/invalidate-cache-broker branch December 7, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add .WithForceRefresh support for silent broker flows
5 participants