From c36de6ee5640d2dc1fdc6cc029844813207e9a52 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 18 May 2021 18:36:20 +0800 Subject: [PATCH] modify --- src/main/resources/application-test.yml | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 4f58f05..f330bf3 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -5,9 +5,12 @@ spring: profiles: - active: dev + active: test datasource: - url: jdbc:mysql://120.27.238.55:3306/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 + # url: jdbc:mysql://rm-bp151tw8er79ig9kb5o.mysql.rds.aliyuncs.com:3306/db_biue?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 + # username: ctcoin_data + # password: ctcoin_123 + url: jdbc:mysql://120.27.238.55:3306/db_otc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 driver-class-name: com.mysql.jdbc.Driver @@ -48,13 +51,13 @@ ## redis配置 redis: ## Redis数据库索引(默认为0) - database: 0 + database: 2 ## Redis服务器地址 - host: 114.55.92.106 + host: 121.37.162.173 ## Redis服务器连接端口 port: 6379 ## Redis服务器连接密码(默认为空) - password: hibit123 + password: d32ncxe@i3#!dV jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) @@ -91,16 +94,19 @@ app: - debug: false + debug: true redis_expire: 3000 + # k线更新任务控制 kline-update-job: false - newest-price-update-job: true + #最新价任务控制 + newest-price-update-job: false #日线 该任务不能与最新价处于同一个服务器 - day-line: true - other-job: true - loop-job: true + day-line: false + #其他任务控制 + other-job: false + loop-job: false rabbit-consumer: false - block-job: true + block-job: false aliyun: oss: -- Gitblit v1.9.1