Skip to content

Commit 0056a9c

Browse files
committed
CORE_POOL_SIZE set to 4
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
1 parent 2cb6d52 commit 0056a9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public class CoreConstants {
2727
/**
2828
* Number of idle threads to retain in a context's executor service.
2929
*/
30-
public static final int CORE_POOL_SIZE = 0;
30+
public static final int CORE_POOL_SIZE = 4;
3131

3232
// In Java 21 and later the actual threads are assumed to be virtual
3333
public static final int SCHEDULED_EXECUTOR_POOL_SIZE = 4;
3434

3535
/**
3636
* Maximum number of threads to allow in a context's executor service.
37+
* @deprecated no longer used
38+
*
3739
*/
38-
// if you need a different MAX_POOL_SIZE, please file create a github issue
39-
// asking for a larger MAX_POOL_SIZE parameter.
4040
public static final int MAX_POOL_SIZE = 32;
4141

4242
// Note that the line.separator property can be looked up even by

0 commit comments

Comments
 (0)