Skip to content

Commit

Permalink
fix(98): Update configuration for liveness and readiness probe in spr…
Browse files Browse the repository at this point in the history
…ing boot 2.3.2

Signed-off-by: Guillaume Audic <[email protected]>
  • Loading branch information
adcg authored and audig committed Jun 18, 2021
1 parent 5186b69 commit e7fe157
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spring:
multipart:
max-file-size: 5MB
max-request-size: 5MB

springdoc:
api-docs.enabled: false

Expand All @@ -32,7 +32,9 @@ management:
exposure:
include: 'info,health,prometheus'
health:
probes:
livenessstate:
enabled: true
readynessstate:
enabled: true
endpoint:
prometheus:
Expand All @@ -45,4 +47,6 @@ management:
include:
- readinessState
- clamaAvConnection
probes:
enabled: true

0 comments on commit e7fe157

Please sign in to comment.