Skip to content

Commit

Permalink
Merge pull request dapr#4464 from antontroshin/fix-resiliency-typo
Browse files Browse the repository at this point in the history
Fix resiliency example typo
  • Loading branch information
hhunter-ms authored Dec 16, 2024
2 parents 780c018 + 4430229 commit b3f8cd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion daprdocs/content/en/operations/resiliency/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
policy: constant
duration: 5s
maxRetries: 3
matches:
matching:
httpStatusCodes: "429,500-599" # retry the HTTP status codes in this range. All others are not retried.
gRPCStatusCodes: "1-4,8-11,13,14" # retry gRPC status codes in these ranges and separate single codes.
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
duration: <REPLACE-WITH-VALUE>
maxInterval: <REPLACE-WITH-VALUE>
maxRetries: <REPLACE-WITH-VALUE>
matching:
httpStatusCodes: <REPLACE-WITH-VALUE>
gRPCStatusCodes: <REPLACE-WITH-VALUE>
circuitBreakers:
circuitBreakerName: # Replace with any unique name
maxRequests: <REPLACE-WITH-VALUE>
Expand Down

0 comments on commit b3f8cd7

Please sign in to comment.