From 6e91f4be557aa70a61d941ff13545be373b78608 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 12 Oct 2026 11:16:19 +0800
Subject: [PATCH] station 修改了连接信息
---
src/main/resources/application-test.yml | 66 ++++++++++++++++++---------------
1 files changed, 36 insertions(+), 30 deletions(-)
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 98f6ea1..fc2469b 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -5,12 +5,12 @@
spring:
profiles:
- active: dev
+ active: test
datasource:
- url: jdbc:mysql://120.27.238.55:3306/kss_framework?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+ url: jdbc:mysql://43.165.176.118:3306/db_base?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
username: ct_test
password: 123456
- driver-class-name: com.mysql.jdbc.Driver
+ driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: ${spring_datasource_druid_initial_size:10}
@@ -32,10 +32,10 @@
filters: stat,wall
stat-view-servlet:
# 默认true 内置监控页面首页/druid/index.html
- enabled: true
+ enabled: false
url-pattern: /druid/*
# 允许清空统计数据
- reset-enable: true
+ reset-enable: false
login-username: root
login-password: 123456
# IP白名单 多个逗号分隔
@@ -47,35 +47,32 @@
basename: i18n/messages
## redis配置
redis:
- ## Redis数据库索引(默认为0)
- database: 1
- ## Redis服务器地址
- host: 47.114.114.219
- ## Redis服务器连接端口
+ # Redis数据库索引(默认为 0)
+ database: 8
+ # Redis服务器地址
+ host: 43.165.176.118
+ # Redis服务器连接端口
port: 6379
- ## Redis服务器连接密码(默认为空)
- password: biyi123
- jedis:
+ # Redis 密码
+ password: 1234!@#$!QAZ
+ lettuce:
pool:
- ## 连接池最大连接数(使用负值表示没有限制)
- #spring.redis.pool.max-active=8
- max-active: 300
- ## 连接池最大阻塞等待时间(使用负值表示没有限制)
- #spring.redis.pool.max-wait=-1
- max-wait: -1
- ## 连接池中的最大空闲连接
- #spring.redis.pool.max-idle=8
- max-idle: 100
- ## 连接池中的最小空闲连接
- #spring.redis.pool.min-idle=0
+ # 连接池中的最小空闲连接
min-idle: 8
- ## 连接超时时间(毫秒)
- timeout: 30000
+ # 连接池中的最大空闲连接
+ max-idle: 500
+ # 连接池最大连接数(使用负值表示没有限制)
+ max-active: 2000
+ # 连接池最大阻塞等待时间(使用负值表示没有限制)
+ max-wait: 10000
+ # 连接超时时间(毫秒)
+ timeout: 500000
+
rabbitmq:
- host: 120.27.238.55
+ host: 43.165.176.118
port: 5672
- username: ct_rabbit
- password: 123456
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
@@ -91,12 +88,21 @@
app:
- debug: true
+ debug: false
redis_expire: 3000
+ # k线更新任务控制
kline-update-job: false
+ #最新价任务控制
newest-price-update-job: false
+ #日线 该任务不能与最新价处于同一个服务器
+ day-line: false
+ #其他任务控制
other-job: false
+ loop-job: false
rabbit-consumer: false
+ block-job: false
+ websocket: false
+ quant: false
aliyun:
oss:
--
Gitblit v1.9.1