From 6f647d7bb2ceadf94859a539102ad6464b1740db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Vajner?= Date: Wed, 30 Jun 2021 21:28:56 +0200 Subject: [PATCH] fix(#651): fix incorrect assignment the same variable was assigned twice accidentally --- .../autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java index c02edeba..5ec31ec9 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java @@ -316,7 +316,7 @@ public GraphQLConfiguration graphQLServletConfiguration( .asyncTimeout(asyncTimeout) .with(asyncTaskDecorator) .asyncCorePoolSize(asyncServletProperties.getThreads().getMin()) - .asyncCorePoolSize(asyncServletProperties.getThreads().getMax()) + .asyncMaxPoolSize(asyncServletProperties.getThreads().getMax()) .with(asyncExecutor) .build(); }