diff options
author | Haakon Dybdahl <dybdahl@yahoo-inc.com> | 2017-01-24 15:02:42 +0100 |
---|---|---|
committer | Haakon Dybdahl <dybdahl@yahoo-inc.com> | 2017-01-24 15:02:42 +0100 |
commit | e3a03847d5a0cacfa9e2465040bd146abbe66f16 (patch) | |
tree | c0f654b57197cd9f820eb7948b2a5a5df82fbe24 /vespaclient-container-plugin | |
parent | 8496613ba326875d688af6e9b62a9dbc0620ef20 (diff) |
Allow more threads for document/v1 api.
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java index 6a7797c20a7..95f0169cfd0 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java @@ -53,7 +53,7 @@ public class RestApi extends LoggingRequestHandler { private final OperationHandler operationHandler; private SingleDocumentParser singleDocumentParser; private ObjectMapper mapper = new ObjectMapper(); - private AtomicInteger threadsAvailableForApi = new AtomicInteger(20 /*max concurrent requests */); + private AtomicInteger threadsAvailableForApi = new AtomicInteger(200 /*max concurrent requests */); @Inject public RestApi(Executor executor, AccessLog accessLog, DocumentmanagerConfig documentManagerConfig, |