diff options
author | Haakon Dybdahl <dybdahl@yahoo-inc.com> | 2017-01-24 15:12:11 +0100 |
---|---|---|
committer | Haakon Dybdahl <dybdahl@yahoo-inc.com> | 2017-01-24 15:12:11 +0100 |
commit | 4a2ea530434ae53885aa68377704021c30fa6d9a (patch) | |
tree | a0efb83323141fc11038ee310298e496c48c131e /vespaclient-container-plugin/src/main/java/com | |
parent | e3a03847d5a0cacfa9e2465040bd146abbe66f16 (diff) |
update test
Diffstat (limited to 'vespaclient-container-plugin/src/main/java/com')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java | 4 |
1 files changed, 3 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 95f0169cfd0..f6a6ed05e57 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 @@ -69,9 +69,11 @@ public class RestApi extends LoggingRequestHandler { public RestApi( Executor executor, AccessLog accessLog, - OperationHandler operationHandler) { + OperationHandler operationHandler, + int threadsAvailable) { super(executor, accessLog); this.operationHandler = operationHandler; + this.threadsAvailableForApi.set(threadsAvailable); } @Override |