From 0056a9cb9fc950df348aa0e129b09e27e28945ad Mon Sep 17 00:00:00 2001 From: Ceki Gulcu Date: Wed, 18 Dec 2024 16:08:57 +0100 Subject: [PATCH] CORE_POOL_SIZE set to 4 Signed-off-by: Ceki Gulcu --- .../src/main/java/ch/qos/logback/core/CoreConstants.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java b/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java index e259cafea1..8ecd8d7e77 100644 --- a/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java +++ b/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java @@ -27,16 +27,16 @@ public class CoreConstants { /** * Number of idle threads to retain in a context's executor service. */ - public static final int CORE_POOL_SIZE = 0; + public static final int CORE_POOL_SIZE = 4; // In Java 21 and later the actual threads are assumed to be virtual public static final int SCHEDULED_EXECUTOR_POOL_SIZE = 4; /** * Maximum number of threads to allow in a context's executor service. + * @deprecated no longer used + * */ - // if you need a different MAX_POOL_SIZE, please file create a github issue - // asking for a larger MAX_POOL_SIZE parameter. public static final int MAX_POOL_SIZE = 32; // Note that the line.separator property can be looked up even by