From 218a79b60a90fbb7704aaff65d20e466bc470849 Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Tue, 7 Aug 2018 15:41:22 +0800 Subject: [PATCH] --- src/org/redkale/boot/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/redkale/boot/Application.java b/src/org/redkale/boot/Application.java index dcf9e212f..dfc3b42f0 100644 --- a/src/org/redkale/boot/Application.java +++ b/src/org/redkale/boot/Application.java @@ -171,7 +171,7 @@ public final class Application { this.singletonrun = singletonrun; this.config = config; System.setProperty("redkale.version", Redkale.getDotedVersion()); - System.setProperty("sun.nio.ch.maxCompletionHandlersOnStack", String.valueOf(Math.max(32, Runtime.getRuntime().availableProcessors() * 8))); + System.setProperty("sun.nio.ch.maxCompletionHandlersOnStack", String.valueOf(Math.max(256, Runtime.getRuntime().availableProcessors() * 8))); final File root = new File(System.getProperty(RESNAME_APP_HOME)); this.resourceFactory.register(RESNAME_APP_TIME, long.class, this.startTime);