Skip to content

Commit

Permalink
Builtin Helidon health features doubling fix (#5615)
Browse files Browse the repository at this point in the history
* Builtin features doubling fix

* Builtin features doubling fix. For standalone.
  • Loading branch information
dalexandrov authored Dec 7, 2022

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent ffa0663 commit 33ca4d0
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ static void routing(HttpRouting.Builder routing) {
ObserveSupport observe = ObserveSupport.builder()
.useSystemServices(true)
.addProvider(HealthObserveProvider.create(HealthFeature.builder()
.useSystemServices(false)
.addCheck(HeapMemoryHealthCheck.create())
.addCheck(DiskSpaceHealthCheck.create())
.addCheck(DeadlockHealthCheck.create())
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ static void routing(HttpRouting.Builder routing) {
ObserveSupport observe = ObserveSupport.builder()
.useSystemServices(false)
.addProvider(HealthObserveProvider.create(HealthFeature.builder()
.useSystemServices(false)
.addCheck(HeapMemoryHealthCheck.create())
.addCheck(DiskSpaceHealthCheck.create())
.addCheck(DeadlockHealthCheck.create())

0 comments on commit 33ca4d0

Please sign in to comment.