File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
frameworks/Java/smart-socket
src/main/java/org/smartboot/http Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111 <maven .compiler.source>21</maven .compiler.source>
1212 <maven .compiler.target>21</maven .compiler.target>
1313 <log4j .version>2.17.1</log4j .version>
14- <smartservlet .version>2.6.1-dev </smartservlet .version>
14+ <smartservlet .version>2.7 </smartservlet .version>
1515 <hikaricp .version>5.0.0</hikaricp .version>
1616 <jsoniter .version>0.9.23</jsoniter .version>
1717 </properties >
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public static void main(String[] args) {
2727 // 定义服务器接受的消息类型以及各类消息对应的处理器
2828 HttpServer bootstrap = new HttpServer ();
2929 bootstrap .configuration ()
30- .threadNum (cpuNum )
30+ .threadNum (cpuNum + 1 )
3131 .headerLimiter (0 )
3232 .readBufferSize (1024 * 4 )
3333 .writeBufferSize (1024 * 4 );
You can’t perform that action at this time.
0 commit comments