Skip to content

Commit

Permalink
Allow parallel execution of blocking health checks
Browse files Browse the repository at this point in the history
Closes quarkusio#36419

(cherry picked from commit bd37cf3)
  • Loading branch information
ahus1 authored and aloubyansky committed Nov 2, 2023
1 parent b85d5d2 commit b5f75a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class QuarkusAsyncHealthCheckFactory extends AsyncHealthCheckFactory {
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 b5f75a9

Please sign in to comment.