From ee7fe3ed33e50c1a0d0c60f8340a8a5a8c937097 Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Mon, 20 Aug 2018 16:49:39 +0800 Subject: [PATCH] --- src/org/redkale/boot/Application.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/org/redkale/boot/Application.java b/src/org/redkale/boot/Application.java index dfc3b42f0..e5116d825 100644 --- a/src/org/redkale/boot/Application.java +++ b/src/org/redkale/boot/Application.java @@ -171,7 +171,6 @@ 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(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); @@ -389,7 +388,6 @@ public final class Application { } public void init() throws Exception { - System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "" + Runtime.getRuntime().availableProcessors() * 4); System.setProperty("net.transport.poolmaxconns", "100"); System.setProperty("net.transport.pinginterval", "30"); System.setProperty("net.transport.checkinterval", "30");