diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-09-16 18:22:11 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-09-16 18:22:11 +0200 |
commit | 6d09cc239f0f4145aab0ec21419fa7726589a4d7 (patch) | |
tree | 84e7356d4cd222bc97f423773729ab69225f17e8 /config-model/src/test/schema-test-files/services.xml | |
parent | 951e558ed5cbfa4ae98fc0962f8ebe5ea1fddeb0 (diff) |
Allow applications to override threadpool configuration in services.xml
Diffstat (limited to 'config-model/src/test/schema-test-files/services.xml')
-rw-r--r-- | config-model/src/test/schema-test-files/services.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config-model/src/test/schema-test-files/services.xml b/config-model/src/test/schema-test-files/services.xml index e7ea2683e3f..683e2dc0b0d 100644 --- a/config-model/src/test/schema-test-files/services.xml +++ b/config-model/src/test/schema-test-files/services.xml @@ -158,6 +158,20 @@ <timeout>5.55</timeout> <route>default</route> <maxpendingdocs>100</maxpendingdocs> + <rest-api> + <threadpool> + <max-threads>50</max-threads> + <min-threads>10</min-threads> + <queue-size>1000</queue-size> + </threadpool> + </rest-api> + <http-client-api> + <threadpool> + <max-threads>50</max-threads> + <min-threads>10</min-threads> + <queue-size>1000</queue-size> + </threadpool> + </http-client-api> </document-api> <search> @@ -184,6 +198,12 @@ </chain> <chain id="achain" searchers="asearcher anothersearcher" inherits="wonkaparentchain" excludes="notneededsearcher"/> + + <threadpool> + <max-threads>500</max-threads> + <min-threads>500</min-threads> + <queue-size>0</queue-size> + </threadpool> </search> <processing> |