From 5268a2b7dfa556bd6f5a2d5e446cea3ea9940c10 Mon Sep 17 00:00:00 2001 From: kimi <kimi42345@gmail.com> Date: 星期三, 22 四月 2020 11:18:23 +0800 Subject: [PATCH] add 分发 master_author 添加字段 subscribe increment, 添加7个表 master_author_subscribe master_author_unactive sys_dispense_config sys_dispense_logs sys_view sys_view_join sys_view_logic --- src/main/resources/application-prod.yml | 49 ++++++++++++++++++++++++++++++++++--------------- 1 files changed, 34 insertions(+), 15 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 104cfb5..0b3829a 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -2,8 +2,7 @@ port: 9010 bak: url: 220.158.10.151 -img: - url: d:/datagovernance/file/activiti/ + baks: url: jdbc:mysql://127.0.0.1:3306/data_admin?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true username: root @@ -12,15 +11,25 @@ spring: datasource: driver-class-name: com.mysql.jdbc.Driver - url: jdbc:mysql://180.169.94.250:8306/data_admin?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true + url: jdbc:mysql://180.169.94.250:8306/data_admin?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true username: masterdata password: md123! - hikari: - minimum-idle: 3 - max-lifetime: 30000 - connection-test-query: select 1 + type: com.alibaba.druid.pool.DruidDataSource + druid: + maxActive: 20 + maxWait: 30000 + validationQuery: select 1 + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + timeBetweenEvictionRunsMillis: 60000 + minEvictableIdleTimeMillis: 300000 + removeAbandoned: true + removeAbandonedTimeout: 1800 + logAbandoned: false + activiti: - database-schema-update: true + database-schema-update: flase thymeleaf: cache: false @@ -45,12 +54,16 @@ column-underline: true redis: - host: http://180.169.94.250 - port: 9107 + url: http://180.169.94.250:9107 + +mq: + url: http://180.169.94.250:9107 rule: url: http://180.169.94.250:9107 +user: + url: http://180.169.94.250:9107 xxljob: local: http://180.169.94.250:9010 @@ -61,10 +74,10 @@ accessToken: executor: ip: - port: 9909 - logpath: /data/applogs/xxl-job/jobhandler - logretentiondays: 1 - appname: assemble + port: 9909 + logpath: /data/applogs/xxl-job/jobhandler + logretentiondays: 1 + appname: assemble admin: addresses: http://192.168.2.68:8090/xxl-job-admin @@ -80,4 +93,10 @@ username: masterdata password: md123! bigdata: - db:hbase? \ No newline at end of file + db:hbase? + + +pool: + coresize: 5 + coefficient: 20 + timeout: 3000000 \ No newline at end of file -- Gitblit v1.8.0