Browse Source

[生产环境redis设置错误][修改]:统一redis设置

release_toaliyun_real
Stormeye Wu 7 years ago
parent
commit
77b711a5c7
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      mallinkMQConsumer/src/main/resources/application-prod.yml

+ 10
- 0
mallinkMQConsumer/src/main/resources/application-prod.yml View File

@@ -27,6 +27,16 @@ spring:
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=) password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
timeout: 3600
expire: 1800 #30分钟
database: 1
defaultExpiration: 2592000 # 默认生命周期30天
jedis:
pool:
max-active: 50
max-idle: 50
max-wait: -1
min-idle: 0
# EMAIL # EMAIL
mail: mail:
host: smtp.exmail.qq.com host: smtp.exmail.qq.com


Loading…
Cancel
Save