From f6a912c1a6a26c809568f964941fb4ad4483274e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 31 May 2021 11:19:40 +0800
Subject: [PATCH] modify
---
src/main/resources/application-loop.yml | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/application-loop.yml b/src/main/resources/application-loop.yml
index 7cb03f8..d6eff18 100644
--- a/src/main/resources/application-loop.yml
+++ b/src/main/resources/application-loop.yml
@@ -7,9 +7,9 @@
profiles:
active: loop
datasource:
- url: jdbc:mysql://192.168.0.151:3306/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
- username: db_hibit
- password: hibit123!@#
+ url: jdbc:mysql://127.0.0.1:3306/db_otc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+ username: yd_otc
+ password: yd_otc123!@#
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
@@ -50,11 +50,11 @@
## Redis数据库索引(默认为0)
database: 0
## Redis服务器地址
- host: 192.168.0.36
+ host: 127.0.0.1
## Redis服务器连接端口
port: 6379
## Redis服务器连接密码(默认为空)
- password: d32ncxe@i3#!dV
+ password: aerefnadlfnwu241
jedis:
pool:
## 连接池最大连接数(使用负值表示没有限制)
@@ -72,10 +72,10 @@
## 连接超时时间(毫秒)
timeout: 30000
rabbitmq:
- host: 192.168.0.36
+ host: 127.0.0.1
port: 5672
- username: hibit
- password: hibit123
+ username: yunding
+ password: yunding123
publisher-confirm-type: correlated
@@ -93,15 +93,17 @@
app:
debug: false
redis_expire: 3000
- kline-update-job: false
- newest-price-update-job: false
+ kline-update-job: true
+ newest-price-update-job: true
#日线 该任务不能与最新价处于同一个服务器
- day-line: false
+ day-line: true
other-job: true
- loop-job: true
- rabbit-consumer: true
+ loop-job: false
+ rabbit-consumer: false
block-job: true
-
+ otc-job: true
+ websocket-job: true
+
aliyun:
oss:
end-point: https://oss-cn-hangzhou.aliyuncs.com
--
Gitblit v1.9.1