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

Make cartServiceFailure 1/10th configurable #1721

Open
agardnerIT opened this issue Sep 18, 2024 · 0 comments
Open

Make cartServiceFailure 1/10th configurable #1721

agardnerIT opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@agardnerIT
Copy link

agardnerIT commented Sep 18, 2024

Feature Request

Is your feature request related to a problem?

In demo scenarios, I want to make the problem appear faster.

Describe the solution you'd like:

Make the 1/10th failure configurable. It is currently hardcoded.

if (await _featureFlagHelper.GetBooleanValue("cartServiceFailure", false) && random.Next(10) == 0)

Describe alternatives you've considered.

Which alternative solutions or features have you considered?

Additional Context

Feel free to add any other context about the feature request here.

@agardnerIT agardnerIT added the enhancement New feature or request label Sep 18, 2024
@agardnerIT agardnerIT changed the title Make cartServiceFailure 1/10th configuranle Make cartServiceFailure 1/10th configurable Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant