From 2973f298e49fd8dff95065ef88d2997fe4eed338 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Fri, 16 Oct 2020 11:18:19 +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