Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
cdd14212
Commit
cdd14212
authored
Mar 22, 2020
by
macro
Browse files
redis配置优化
parent
092bd902
Changes
2
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/resources/application-dev.yml
View file @
cdd14212
...
...
@@ -27,13 +27,7 @@ spring:
database
:
0
# Redis数据库索引(默认为0)
port
:
6379
# Redis服务器连接端口
password
:
# Redis服务器连接密码(默认为空)
jedis
:
pool
:
max-active
:
8
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle
:
8
# 连接池中的最大空闲连接
min-idle
:
0
# 连接池中的最小空闲连接
timeout
:
1000ms
# 连接超时时间(毫秒)
timeout
:
300ms
# 连接超时时间(毫秒)
rabbitmq
:
host
:
localhost
...
...
mall-portal/src/main/resources/application-prod.yml
View file @
cdd14212
...
...
@@ -27,13 +27,7 @@ spring:
database
:
0
# Redis数据库索引(默认为0)
port
:
6379
# Redis服务器连接端口
password
:
# Redis服务器连接密码(默认为空)
jedis
:
pool
:
max-active
:
8
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle
:
8
# 连接池中的最大空闲连接
min-idle
:
0
# 连接池中的最小空闲连接
timeout
:
0ms
# 连接超时时间(毫秒)
timeout
:
300ms
# 连接超时时间(毫秒)
rabbitmq
:
host
:
rabbit
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment