Skip to content

Commit da713f0

Browse files
authored
Updated doc to reflect current support for FT thread pool properties. (helidon-io#6621)
1 parent 72a9299 commit da713f0

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

docs/mp/fault-tolerance.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////
22

3-
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
3+
Copyright (c) 2021, 2023 Oracle and/or its affiliates.
44

55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -154,9 +154,8 @@ the calling thread on I/O or on a long-running computation.
154154
155155
== Configuration
156156
157-
Helidon's implementation uses two types of thread pools: normal and scheduled. The default
158-
core size of these executors is 20; however, that can be configured using an `application.yaml`
159-
file as follows:
157+
Helidon’s implementation uses two types of thread pools: normal and scheduled. The default core
158+
size of these executors is 20; however, that can be configured using in your `application.yaml` file:
160159
161160
[source,yaml]
162161
----
@@ -167,8 +166,13 @@ scheduled-executor:
167166
core-pool-size: 32
168167
----
169168
170-
NOTE: There is currently _no support_ to configure these executor properties via a
171-
`microprofile-config.properties` file.
169+
or in your `microprofile-config.properties` as follows:
170+
171+
[source,properties]
172+
----
173+
executor.core-pool-size=32
174+
scheduled-executor.core-pool-size=32
175+
----
172176
173177
For a complete set of properties available to configure these executors, see
174178
link:{configurable-javadoc-base-url}/io/helidon/common/configurable/ThreadPoolSupplier.Builder.html#config(io.helidon.config.Config)[ServerThreadPoolSupplier] and

0 commit comments

Comments
 (0)