From 58cd01b90c3ddb533f7e1bcc32c06a3a77e887e4 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 02 Jul 2026 15:41:19 +0800
Subject: [PATCH] chore(config): 更新测试环境配置为本地连接
---
src/main/resources/application-test.yml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 3b9980a..f8eef47 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -2,12 +2,12 @@
datasource:
dynamic:
# 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
- p6spy: true
+ p6spy: false
hikari:
connection-timeout: 30000
max-lifetime: 1800000
- max-pool-size: 15
- min-idle: 5
+ max-pool-size: 50
+ min-idle: 10
connection-test-query: select 1
pool-name: FebsHikariCP
# 配置默认数据源
@@ -18,13 +18,13 @@
username: ry_vue_ai
password: ry_vue_ai!@#123
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://8.166.133.146:3306/ry_vue_ai?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+ url: jdbc:mysql://127.0.0.1:3306/ry_vue_ai?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
redis:
# Redis数据库索引(默认为 0)
database: 3
# Redis服务器地址
- host: 8.166.133.146
+ host: 127.0.0.1
# Redis服务器连接端口
port: 6379
# Redis 密码
@@ -42,7 +42,7 @@
# 连接超时时间(毫秒)
timeout: 5000000
rabbitmq:
- host: 8.166.133.146
+ host: 127.0.0.1
port: 5672
username: xc_rabbit
password: xuncong123
--
Gitblit v1.9.1