Skip to content

Commit bd2eac8

Browse files
committed
more java docs
1 parent a831436 commit bd2eac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/common/util/concurrent/EsExecutors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static PrioritizedEsThreadPoolExecutor newSinglePrioritizing(
100100
* Creates a scaling {@link EsThreadPoolExecutor} using an unbounded work queue.
101101
* <p>
102102
* The {@link EsThreadPoolExecutor} scales the same way as a regular {@link ThreadPoolExecutor} until the core pool size
103-
* (and at least 1) is reached: each time a task is submitted a new worker is added.
103+
* (and at least 1) is reached: each time a task is submitted a new worker is added regardless if an idle worker is available.
104104
* <p>
105105
* Once having reached the core pool size, a {@link ThreadPoolExecutor} will only add a new worker if the work queue rejects
106106
* a task offer. Typically, using a regular unbounded queue, task offers won't ever be rejected, meaning the worker pool would never

0 commit comments

Comments
 (0)