Improve query docs for java/java-util-concurrent-scheduledthreadpoolexecutor

This commit is contained in:
Tamas Vajk
2025-07-07 14:22:37 +02:00
parent 7bb3758093
commit 6013c347df

View File

@@ -1,6 +1,6 @@
## Overview
According to the Java documentation on `ScheduledThreadPoolExecutor`, it is not a good idea to set `corePoolSize` to zero, since doing so indicates the executor to keep 0 threads in its pool and the executor will serve no purpose.
According to the Java documentation on `ScheduledThreadPoolExecutor`, it is not a good idea to set `corePoolSize` to zero, since doing so instructs the executor to keep 0 threads in its pool and the executor will serve no purpose.
## Recommendation