Browse Source

修改pom

FutureYu 1 year ago
parent
commit
71d41daaf0
2 changed files with 6 additions and 2 deletions
  1. 4 0
      insert-app/pom.xml
  2. 2 2
      insert-app/src/main/resources/application.yml

+ 4 - 0
insert-app/pom.xml

@@ -57,6 +57,10 @@
             <version>0.0.1-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-transport-native-epoll</artifactId>
+        </dependency>
 
     </dependencies>
 

+ 2 - 2
insert-app/src/main/resources/application.yml

@@ -39,7 +39,7 @@ ip:
   broadcast: 192.168.66.255
 
 logging:
-  showRecvBytes: true
+  showRecvBytes: false
   showStatisticAfterInsertData: true
   file:
     name: logs/insert-server.log  # 日志文件绝对路径及名称
@@ -56,7 +56,7 @@ mybatis:
 netty:
   host: 0.0.0.0
   port: 1208
-  recvBufferSize: 3
+  recvBufferSize: 20
 
 server:
   port: 8081