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