@@ -32,7 +32,6 @@ public class GraphQLConfiguration {
32
32
private final GraphQLObjectMapper objectMapper ;
33
33
private final List <GraphQLServletListener > listeners ;
34
34
private final long subscriptionTimeout ;
35
- @ Getter private final boolean asyncEnabled ;
36
35
@ Getter private final long asyncTimeout ;
37
36
private final ContextSetting contextSetting ;
38
37
private final GraphQLResponseCacheManager responseCacheManager ;
@@ -46,7 +45,6 @@ private GraphQLConfiguration(
46
45
GraphQLObjectMapper objectMapper ,
47
46
List <GraphQLServletListener > listeners ,
48
47
long subscriptionTimeout ,
49
- boolean asyncEnabled ,
50
48
long asyncTimeout ,
51
49
ContextSetting contextSetting ,
52
50
Supplier <BatchInputPreProcessor > batchInputPreProcessor ,
@@ -58,7 +56,6 @@ private GraphQLConfiguration(
58
56
this .objectMapper = objectMapper ;
59
57
this .listeners = listeners ;
60
58
this .subscriptionTimeout = subscriptionTimeout ;
61
- this .asyncEnabled = asyncEnabled ;
62
59
this .asyncTimeout = asyncTimeout ;
63
60
this .contextSetting = contextSetting ;
64
61
this .batchInputPreProcessor = batchInputPreProcessor ;
@@ -142,7 +139,6 @@ public static class Builder {
142
139
private GraphQLObjectMapper objectMapper = GraphQLObjectMapper .newBuilder ().build ();
143
140
private List <GraphQLServletListener > listeners = new ArrayList <>();
144
141
private long subscriptionTimeout = 0 ;
145
- private boolean asyncEnabled = false ;
146
142
private long asyncTimeout = 30000 ;
147
143
private ContextSetting contextSetting = ContextSetting .PER_QUERY_WITH_INSTRUMENTATION ;
148
144
private Supplier <BatchInputPreProcessor > batchInputPreProcessorSupplier =
@@ -212,11 +208,6 @@ public Builder with(Executor asyncExecutor) {
212
208
return this ;
213
209
}
214
210
215
- public Builder asyncEnabled (boolean enabled ) {
216
- this .asyncEnabled = enabled ;
217
- return this ;
218
- }
219
-
220
211
public Builder asyncCorePoolSize (int asyncCorePoolSize ) {
221
212
this .asyncCorePoolSize = asyncCorePoolSize ;
222
213
return this ;
@@ -284,7 +275,6 @@ public GraphQLConfiguration build() {
284
275
objectMapper ,
285
276
listeners ,
286
277
subscriptionTimeout ,
287
- asyncEnabled ,
288
278
asyncTimeout ,
289
279
contextSetting ,
290
280
batchInputPreProcessorSupplier ,
0 commit comments