You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
3
+
Copyright (c) 2021, 2023 Oracle and/or its affiliates.
4
4
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
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.
154
154
155
155
== Configuration
156
156
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:
160
159
161
160
[source,yaml]
162
161
----
@@ -167,8 +166,13 @@ scheduled-executor:
167
166
core-pool-size: 32
168
167
----
169
168
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
+
----
172
176
173
177
For a complete set of properties available to configure these executors, see
174
178
link:{configurable-javadoc-base-url}/io/helidon/common/configurable/ThreadPoolSupplier.Builder.html#config(io.helidon.config.Config)[ServerThreadPoolSupplier] and
0 commit comments