From ba5f4a24c73ef117767d19b186fbd5f731607c5d Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Sat, 13 Jan 2018 10:05:13 +0800 Subject: [PATCH] =?UTF-8?q?bufferCapacity=E7=9A=84=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E7=BB=9F=E4=B8=80=E8=B0=83=E6=95=B4=E6=88=9032K?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/META-INF/application-template.xml | 6 +++--- src/org/redkale/boot/Application.java | 6 +++--- src/org/redkale/net/Server.java | 6 +++--- src/org/redkale/net/sncp/SncpServer.java | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/META-INF/application-template.xml b/src/META-INF/application-template.xml index 9f3662461..6a861c0be 100644 --- a/src/META-INF/application-template.xml +++ b/src/META-INF/application-template.xml @@ -35,13 +35,13 @@ 【节点全局唯一】 transport节点只能有一个,用于配置所有Transport的池参数,没配置该节点将自动创建一个。 threads: 线程总数, 默认: 节点数*CPU核数*8 - bufferCapacity: ByteBuffer的初始化大小, 默认: 8K; + bufferCapacity: ByteBuffer的初始化大小, 默认: 32K; bufferPoolSize: ByteBuffer池的大小,默认: 节点数*CPU核数*8 readTimeoutSecond: TCP读取超时秒数, 默认为6秒, 为0表示无超时限制 writeTimeoutSecond: TCP写入超时秒数, 默认为6秒, 为0表示无超时限制 strategy: 远程请求的负载均衡策略, 必须是org.redkale.net.TransportStrategy的实现类 --> - +