From 669adfcd7f8d51ae5db2a5080809dcd8540345a4 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期三, 23 八月 2023 15:04:50 +0800
Subject: [PATCH] 修改慢sql检测时长 关闭获取ip地址功能
---
ruoyi-admin/src/main/resources/application-prod-druid.yml | 2 +-
ruoyi-admin/src/main/resources/application-dev-druid.yml | 2 +-
ruoyi-admin/src/main/resources/application.yml | 4 ++--
ruoyi-admin/src/main/resources/application-dev.yml | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application-dev-druid.yml b/ruoyi-admin/src/main/resources/application-dev-druid.yml
index cc740d1..9f8f361 100644
--- a/ruoyi-admin/src/main/resources/application-dev-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-dev-druid.yml
@@ -51,7 +51,7 @@
enabled: true
# 鎱QL璁板綍
log-slow-sql: true
- slow-sql-millis: 3000
+ slow-sql-millis: 10000
merge-sql: true
wall:
config:
diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml
index 715998e..961213b 100644
--- a/ruoyi-admin/src/main/resources/application-dev.yml
+++ b/ruoyi-admin/src/main/resources/application-dev.yml
@@ -20,7 +20,7 @@
# redis 閰嶇疆
redis:
# 鍦板潃
- host: 127.0.0.1
+ host: 192.168.1.15
# 绔彛锛岄粯璁や负6379
port: 6379
# 鏁版嵁搴撶储寮�
diff --git a/ruoyi-admin/src/main/resources/application-prod-druid.yml b/ruoyi-admin/src/main/resources/application-prod-druid.yml
index b946ee0..ede32e6 100644
--- a/ruoyi-admin/src/main/resources/application-prod-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-prod-druid.yml
@@ -51,7 +51,7 @@
enabled: true
# 鎱QL璁板綍
log-slow-sql: true
- slow-sql-millis: 3000
+ slow-sql-millis: 10000
merge-sql: true
wall:
config:
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 6199853..d97225f 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -11,7 +11,7 @@
# 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ard/uploadPath锛孡inux閰嶇疆 /home/ard/uploadPath锛�
profile: D:/ard/uploadPath
# 鑾峰彇ip鍦板潃寮�鍏�
- addressEnabled: true
+ addressEnabled: false
# 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉
captchaType: char
# 鐢ㄦ埛閰嶇疆
@@ -101,5 +101,5 @@
thymeleaf:
cache: false
profiles:
- active: dev-druid,dev
+ active: prod-druid,prod
--
Gitblit v1.9.3