Skip to content

Allow configuring failure rate #5

Description

@waldekmastykarz

By default, the proxy fails 70% of calls to Graph. This feature allows configuring the failure rate using the --failure option in the command line, when starting the proxy, eg. --failure 90, to set the failure rate to 90%.
If the specified value is invalid (less than 0, more than 100 or not a number), the proxy will close with an error saying: “xyz is not a valid failure rate. Specify a number between 0 and 100”.
To specify a different failure rate, you need to restart the proxy.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions