From c9d2e60f7d1a5cfe9e5b2da93af4d9edeecf5577 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: Tue, 26 Nov 2024 16:04:21 +0800
Subject: [PATCH] 部分修改
---
expert-admin/src/main/resources/application-dev.yml | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/expert-admin/src/main/resources/application-druid.yml b/expert-admin/src/main/resources/application-dev.yml
similarity index 78%
rename from expert-admin/src/main/resources/application-druid.yml
rename to expert-admin/src/main/resources/application-dev.yml
index cf564bf..d598276 100644
--- a/expert-admin/src/main/resources/application-druid.yml
+++ b/expert-admin/src/main/resources/application-dev.yml
@@ -58,4 +58,26 @@
merge-sql: true
wall:
config:
- multi-statement-allow: true
\ No newline at end of file
+ multi-statement-allow: true
+ # redis 配置
+ redis:
+ # 地址
+ host: localhost
+ # 端口,默认为6379
+ port: 6379
+ # 数据库索引
+ database: 0
+ # 密码
+ #password:
+ # 连接超时时间
+ timeout: 10s
+ lettuce:
+ pool:
+ # 连接池中的最小空闲连接
+ min-idle: 0
+ # 连接池中的最大空闲连接
+ max-idle: 8
+ # 连接池的最大数据库连接数
+ max-active: 8
+ # #连接池最大阻塞等待时间(使用负值表示没有限制)
+ max-wait: -1ms
\ No newline at end of file
--
Gitblit v1.9.2