Fixing forkjoin pool factory validation when running embedded server (#30175)
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
This commit is contained in:
parent
5897334ddb
commit
e1418c1bbb
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,8 @@ import java.nio.file.Path;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
|
||||
import io.quarkus.bootstrap.forkjoin.QuarkusForkJoinWorkerThreadFactory;
|
||||
import org.eclipse.microprofile.config.spi.ConfigProviderResolver;
|
||||
import org.keycloak.common.Version;
|
||||
import org.keycloak.common.crypto.FipsMode;
|
||||
|
@ -60,6 +62,7 @@ public class Keycloak {
|
|||
System.setProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager");
|
||||
System.setProperty("quarkus.http.test-port", "${kc.http-port}");
|
||||
System.setProperty("quarkus.http.test-ssl-port", "${kc.https-port}");
|
||||
System.setProperty("java.util.concurrent.ForkJoinPool.common.threadFactory", QuarkusForkJoinWorkerThreadFactory.class.getName());
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
Loading…
Reference in a new issue