Skip to content

Commit

Permalink
Allow parallel execution of blocking health checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Oct 11, 2023
1 parent 25eb435 commit bd37cf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public QuarkusAsyncHealthCheckFactory(Vertx vertx) {
public Uni<HealthCheckResponse> callSync(HealthCheck healthCheck) {
Uni<HealthCheckResponse> healthCheckResponseUni = super.callSync(healthCheck);
return BlockingOperationControl.isBlockingAllowed() ? healthCheckResponseUni
: healthCheckResponseUni.runSubscriptionOn(MutinyHelper.blockingExecutor(vertx));
: healthCheckResponseUni.runSubscriptionOn(MutinyHelper.blockingExecutor(vertx, false));
}

@Override
Expand Down

0 comments on commit bd37cf3

Please sign in to comment.