From f0bee6af6358e07b5426df16aab37f4259de52f6 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 29 六月 2020 09:08:18 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue --- ruoyi/src/main/resources/application.yml | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/ruoyi/src/main/resources/application.yml b/ruoyi/src/main/resources/application.yml index fbabd99..dcadb91 100644 --- a/ruoyi/src/main/resources/application.yml +++ b/ruoyi/src/main/resources/application.yml @@ -3,7 +3,7 @@ # 鍚嶇О name: RuoYi # 鐗堟湰 - version: 2.0.0 + version: 2.3.0 # 鐗堟潈骞翠唤 copyrightYear: 2019 # 瀹炰緥婕旂ず寮�鍏� @@ -11,7 +11,7 @@ # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛� profile: D:/ruoyi/uploadPath # 鑾峰彇ip鍦板潃寮�鍏� - addressEnabled: true + addressEnabled: false # 寮�鍙戠幆澧冮厤缃� server: @@ -20,13 +20,16 @@ servlet: # 搴旂敤鐨勮闂矾寰� context-path: / - tomcat: - # tomcat鐨刄RI缂栫爜 - uri-encoding: UTF-8 - # tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200 - max-threads: 800 - # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�25 - min-spare-threads: 30 + undertow: + # 璁剧疆IO绾跨▼鏁�, 瀹冧富瑕佹墽琛岄潪闃诲鐨勪换鍔�,瀹冧滑浼氳礋璐e涓繛鎺�, 榛樿璁剧疆姣忎釜CPU鏍稿績涓�涓嚎绋� + io-threads: 8 + # 闃诲浠诲姟绾跨▼姹�, 褰撴墽琛岀被浼約ervlet璇锋眰闃诲鎿嶄綔, undertow浼氫粠杩欎釜绾跨▼姹犱腑鍙栧緱绾跨▼,瀹冪殑鍊艰缃彇鍐充簬绯荤粺鐨勮礋杞� + worker-threads: 256 + # 浠ヤ笅鐨勯厤缃細褰卞搷buffer,杩欎簺buffer浼氱敤浜庢湇鍔″櫒杩炴帴鐨処O鎿嶄綔,鏈夌偣绫讳技netty鐨勬睜鍖栧唴瀛樼鐞� + # 姣忓潡buffer鐨勭┖闂村ぇ灏�,瓒婂皬鐨勭┖闂磋鍒╃敤瓒婂厖鍒� + buffer-size: 512 + # 鏄惁鍒嗛厤鐨勭洿鎺ュ唴瀛� + direct-buffers: true # 鏃ュ織閰嶇疆 @@ -114,6 +117,13 @@ supportMethodsArguments: true params: count=countSql +# Swagger閰嶇疆 +swagger: + # 鏄惁寮�鍚痵wagger + enabled: true + # 璇锋眰鍓嶇紑 + pathMapping: /dev-api + # 闃叉XSS鏀诲嚮 xss: # 杩囨护寮�鍏� -- Gitblit v1.9.3