From 99773108758898c032f67a125439fb811f5b992b Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Fri, 20 Nov 2020 13:33:18 +0800 Subject: [PATCH] 天气预测,实测优化 --- src/main/resources/application.yml | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a327bfe..cdb2e43 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -49,6 +49,16 @@ #password: 123456 channelCacheSize: 10 concurrency: 5 - + redis: + host: 127.0.0.1 + port: 6379 + password: root + database: 1 + timeout: 5000 + pool: + max-active: 8 + max-wait: -1 + max-idle: 8 + min-idle: 0 mybatis: mapper-locations: classpath*:/mapper/*Mapper.xml \ No newline at end of file -- Gitblit v1.8.0