From 10b37b1a80dfc17882cff9f6685444b48a006bcf Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期二, 14 十二月 2021 12:16:01 +0800
Subject: [PATCH] 升级log4j2到安全版本,防止漏洞风险

---
 src/main/resources/application.yml |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 74cccc8..685d4c9 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -3,7 +3,7 @@
   # 鍚嶇О
   name: RuoYi
   # 鐗堟湰
-  version: 3.6.0
+  version: 3.8.0
   # 鐗堟潈骞翠唤
   copyrightYear: 2021
   # 瀹炰緥婕旂ず寮�鍏�
@@ -25,10 +25,13 @@
   tomcat:
     # tomcat鐨刄RI缂栫爜
     uri-encoding: UTF-8
-    # tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200
-    max-threads: 800
-    # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�25
-    min-spare-threads: 30
+    # 杩炴帴鏁版弧鍚庣殑鎺掗槦鏁帮紝榛樿涓�100
+    accept-count: 1000
+    threads:
+      # tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200
+      max: 800
+      # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�10
+      min-spare: 100
 
 # 鏃ュ織閰嶇疆
 logging:

--
Gitblit v1.9.3