From bd37cf37ee9a1312a2f444a8a4cc6c74fbd652af Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Wed, 11 Oct 2023 19:32:40 +0200 Subject: [PATCH] Allow parallel execution of blocking health checks Closes #36419 --- .../smallrye/health/runtime/QuarkusAsyncHealthCheckFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/smallrye-health/runtime/src/main/java/io/quarkus/smallrye/health/runtime/QuarkusAsyncHealthCheckFactory.java b/extensions/smallrye-health/runtime/src/main/java/io/quarkus/smallrye/health/runtime/QuarkusAsyncHealthCheckFactory.java index 40ac4774701c7..de343b4f38b85 100644 --- a/extensions/smallrye-health/runtime/src/main/java/io/quarkus/smallrye/health/runtime/QuarkusAsyncHealthCheckFactory.java +++ b/extensions/smallrye-health/runtime/src/main/java/io/quarkus/smallrye/health/runtime/QuarkusAsyncHealthCheckFactory.java @@ -29,7 +29,7 @@ public QuarkusAsyncHealthCheckFactory(Vertx vertx) { public Uni callSync(HealthCheck healthCheck) { Uni healthCheckResponseUni = super.callSync(healthCheck); return BlockingOperationControl.isBlockingAllowed() ? healthCheckResponseUni - : healthCheckResponseUni.runSubscriptionOn(MutinyHelper.blockingExecutor(vertx)); + : healthCheckResponseUni.runSubscriptionOn(MutinyHelper.blockingExecutor(vertx, false)); } @Override