Skip to content

Commit ac66790

Browse files
committed
redis 增加 clientName 设置参数
1 parent e33ad32 commit ac66790

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/core/src/main/resources/config/jeesite-core.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,18 @@ redis:
109109
timeout: 2000
110110
password: 1234
111111
database: 0
112+
clientName: ~
112113

113114
# Redis 连接池配置
114115
pool:
115116
maxIdle: 3
116117
maxTotal: 20
117-
118-
# 定义Key的前缀标识
119-
keyPrefix: ${jdbc.tablePrefix}
120118

121119
# 是否启用Redis系统缓存及会话
122120
cacheAndSession: false
121+
122+
# 定义Key的前缀标识
123+
keyPrefix: ${jdbc.tablePrefix}
123124

124125
#============================#
125126
#===== System settings ======#

0 commit comments

Comments
 (0)