Replaced wrong resiliency example definition

This commit is contained in:
Bilgin Ibryam 2024-07-17 20:02:56 +01:00
parent 2ddafc2080
commit 4fe1ded85e
1 changed files with 12 additions and 11 deletions

View File

@ -61,14 +61,14 @@ Run the `order-processor` service alongside a Dapr sidecar. The Dapr sidecar the
metadata:
name: myresiliency
scopes:
- checkout
- order-processor
spec:
policies:
retries:
retryForever:
policy: constant
maxInterval: 5s
duration: 5s
maxRetries: -1
circuitBreakers:
@ -78,8 +78,9 @@ Run the `order-processor` service alongside a Dapr sidecar. The Dapr sidecar the
trip: consecutiveFailures >= 5
targets:
apps:
order-processor:
components:
statestore:
outbound:
retry: retryForever
circuitBreaker: simpleCB
```