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 committed Dec 7, 2022
1 parent ffa0663 commit 33ca4d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 33ca4d0

Please sign in to comment.