Skip to content

Commit

Permalink
CORE_POOL_SIZE set to 4
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <[email protected]>
  • Loading branch information
ceki committed Dec 18, 2024
1 parent 2cb6d52 commit 0056a9c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0056a9c

Please sign in to comment.