Skip to content

Commit 0ea7cbd

Browse files
renshukijrodewigjoegallo
authored
[DOC] Add watcher to the threadpool doc (#73935)
Co-authored-by: James Rodewig <[email protected]> Co-authored-by: Joe Gallo <[email protected]>
1 parent 67b7fd4 commit 0ea7cbd

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/reference/modules/threadpool.asciidoc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,30 @@ There are several thread pools, but the important ones include:
8888

8989
`system_read`::
9090
For read operations on system indices.
91-
Thread pool type is `fixed` and a default maximum size of
91+
Thread pool type is `fixed` with a default maximum size of
9292
`min(5, (`<<node.processors, `# of allocated processors`>>`) / 2)`.
9393

9494
`system_write`::
9595
For write operations on system indices.
96-
Thread pool type is `fixed` and a default maximum size of
96+
Thread pool type is `fixed` with a default maximum size of
9797
`min(5, (`<<node.processors, `# of allocated processors`>>`) / 2)`.
9898

9999
`system_critical_read`::
100100
For critical read operations on system indices.
101-
Thread pool type is `fixed` and a default maximum size of
101+
Thread pool type is `fixed` with a default maximum size of
102102
`min(5, (`<<node.processors, `# of allocated processors`>>`) / 2)`.
103103

104104
`system_critical_write`::
105105
For critical write operations on system indices.
106-
Thread pool type is `fixed` and a default maximum size of
106+
Thread pool type is `fixed` with a default maximum size of
107107
`min(5, (`<<node.processors, `# of allocated processors`>>`) / 2)`.
108108

109+
`watcher`::
110+
For <<xpack-alerting,watch executions>>.
111+
Thread pool type is `fixed` with a default maximum size of
112+
`min(5 * (`<<node.processors, `# of allocated processors`>>`), 50)`
113+
and queue_size of `1000`.
114+
109115
Changing a specific thread pool can be done by setting its type-specific
110116
parameters; for example, changing the number of threads in the `write` thread
111117
pool:

0 commit comments

Comments
 (0)