From a4ae6dd9c42d0903a201e3236d16fe0fedc9bfb2 Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Thu, 19 Apr 2018 14:21:36 +0800 Subject: [PATCH] --- src/META-INF/application-template.xml | 2 +- src/org/redkale/net/Server.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/META-INF/application-template.xml b/src/META-INF/application-template.xml index 72044fbae..c338c4260 100644 --- a/src/META-INF/application-template.xml +++ b/src/META-INF/application-template.xml @@ -122,7 +122,7 @@ bufferCapacity: ByteBuffer的初始化大小, 默认: 32K; (HTTP 2.0、WebSocket,必须要16k以上) bufferPoolSize: ByteBuffer池的大小,默认: 线程总数*4 responsePoolSize: Response池的大小,默认: 线程总数*2 - aliveTimeoutSeconds: KeepAlive读操作超时秒数, 默认0, 表示永久不超时,-1表示禁止KeepAlive + aliveTimeoutSeconds: KeepAlive读操作超时秒数, 默认30, 0表示永久不超时; -1表示禁止KeepAlive readTimeoutSeconds: 读操作超时秒数, 默认0, 表示永久不超时 writeTimeoutSeconds: 写操作超时秒数, 默认0, 表示永久不超时 interceptor: 启动/关闭NodeServer时被调用的拦截器实现类,必须是org.redkale.boot.NodeInterceptor的子类,默认为null diff --git a/src/org/redkale/net/Server.java b/src/org/redkale/net/Server.java index dc8efc6e6..b835e8443 100644 --- a/src/org/redkale/net/Server.java +++ b/src/org/redkale/net/Server.java @@ -116,7 +116,7 @@ public abstract class Server