mirror of https://github.com/dapr/quickstarts.git
fix: define resiliency policy
Signed-off-by: mikeee <hey@mike.ee>
This commit is contained in:
parent
ff7603addd
commit
231fb83580
|
@ -1,4 +1,6 @@
|
|||
version: 1
|
||||
common:
|
||||
resourcesPath: ./resources
|
||||
apps:
|
||||
- appDirPath: ./node
|
||||
appID: nodeapp
|
||||
|
@ -7,4 +9,4 @@ apps:
|
|||
createService: true
|
||||
- appDirPath: ./python
|
||||
appID: pythonapp
|
||||
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
|
||||
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
spec:
|
||||
policies:
|
||||
retries:
|
||||
# Global Retry Policy
|
||||
DefaultRetryPolicy:
|
||||
policy: constant
|
||||
duration: 1s
|
||||
maxRetries: -1
|
Loading…
Reference in New Issue