Skip to content

Commit a4dad72

Browse files
committed
Remove mention of bulk threadpool in examples (#41935)
The `bulk` threadpool is now called `write`, but `bulk` is still used in some examples. This commit fixes that. Also, the only way `threadpool.bulk.write: 30` is a valid increase in the size of this threadpool is if you have 29 processors, which is an odd number of processors to have. This commit removes the "more threads" bit.
1 parent 07275ef commit a4dad72

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/reference/modules/threadpool.asciidoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ There are several thread pools, but the important ones include:
5252
Mainly for java client executing of action when listener threaded is set to true.
5353
Thread pool type is `scaling` with a default max of `min(10, (# of available processors)/2)`.
5454

55-
Changing a specific thread pool can be done by setting its type-specific parameters; for example, changing the `bulk`
56-
thread pool to have more threads:
55+
Changing a specific thread pool can be done by setting its type-specific
56+
parameters; for example, changing the number of threads in the `write` thread
57+
pool:
5758

5859
[source,yaml]
5960
--------------------------------------------------
6061
thread_pool:
61-
bulk:
62+
write:
6263
size: 30
6364
--------------------------------------------------
6465

@@ -87,7 +88,7 @@ full, it will abort the request.
8788
[source,yaml]
8889
--------------------------------------------------
8990
thread_pool:
90-
bulk:
91+
write:
9192
size: 30
9293
queue_size: 1000
9394
--------------------------------------------------

0 commit comments

Comments
 (0)