From 77b711a5c7d31c8d623e3c97f8e41651dcb78eb7 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Sat, 15 Jun 2019 14:34:36 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83redis?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=94=99=E8=AF=AF][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E7=BB=9F=E4=B8=80redis=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mallinkMQConsumer/src/main/resources/application-prod.yml b/mallinkMQConsumer/src/main/resources/application-prod.yml index 1985d8629..c6d176f81 100644 --- a/mallinkMQConsumer/src/main/resources/application-prod.yml +++ b/mallinkMQConsumer/src/main/resources/application-prod.yml @@ -27,6 +27,16 @@ spring: host: 127.0.0.1 port: 6379 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 mail: host: smtp.exmail.qq.com