Skip to content

Commit

Permalink
update to 1.0.4 (#4044)
Browse files Browse the repository at this point in the history
* smart-socket 1.0

* smart-socket 1.0

* smart-socket 1.0.1

* smart-socket 1.0.1

* smart-socket 1.0.1

* smart-http 1.0.3

* smart-http 1.0.4
  • Loading branch information
smthing authored and michaelhixson committed Sep 16, 2018
1 parent f86dee7 commit ddf6320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/Java/smart-socket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.smartboot.http</groupId>
<artifactId>smart-http-parent</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public static void http(MessageProcessor<Http11Request> processor) {
// 定义服务器接受的消息类型以及各类消息对应的处理器
AioQuickServer<Http11Request> server = new AioQuickServer<>(8080, new HttpRequestProtocol(), processor);
server.setWriteQueueSize(2);
server.setFaster(true);
server.setReadBufferSize(256);
server.setThreadNum((int) (Runtime.getRuntime().availableProcessors() * 1.5));
try {
Expand Down

0 comments on commit ddf6320

Please sign in to comment.