cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [1/2] git commit: CXF-5708 applied the setting of application thread pool size
Date Wed, 23 Apr 2014 15:13:23 GMT
Repository: cxf
Updated Branches:
  refs/heads/master ab8818b7c -> a3505225e


CXF-5708 applied the setting of application thread pool size


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a3505225
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a3505225
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a3505225

Branch: refs/heads/master
Commit: a3505225ee53bf7d25b25ac68687976f01347863
Parents: 2f3446f
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Apr 23 23:12:52 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Apr 23 23:13:08 2014 +0800

----------------------------------------------------------------------
 .../http/netty/server/NettyHttpServletPipelineFactory.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a3505225/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
b/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
index 600b47c..1b2c812 100644
--- a/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
+++ b/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
@@ -81,7 +81,7 @@ public class NettyHttpServletPipelineFactory extends ChannelInitializer<Channel>
         this.maxChunkContentSize = maxChunkContentSize;
         this.nettyHttpServerEngine = engine;
         //TODO need to configure the thread size of EventExecutorGroup
-        applicationExecutor = new DefaultEventExecutorGroup(16);
+        applicationExecutor = new DefaultEventExecutorGroup(threadPoolSize);
     }
 
 


Mime
View raw message