redis 增加 database配置项,设置不同的库
This commit is contained in:
parent
c86dc20743
commit
1caec85f46
@ -60,6 +60,8 @@ spring:
|
||||
redis:
|
||||
# 地址
|
||||
host: localhost
|
||||
# 设置不同的库,默认值为0,redis默认16个,即0到15
|
||||
database: 0
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 密码
|
||||
|
Loading…
Reference in New Issue
Block a user