From 82fbbf24939e150ee3cef90dc0dd843c9897a7e6 Mon Sep 17 00:00:00 2001 From: kimi <kimi42345@gmail.com> Date: 星期六, 23 五月 2020 12:27:13 +0800 Subject: [PATCH] 添加 log前 去除bak文件前的备份 --- src/main/resources/application-pro.yml | 68 ++++++++++++++++++++++++++-------- 1 files changed, 52 insertions(+), 16 deletions(-) diff --git a/src/main/resources/application-pro.yml b/src/main/resources/application-pro.yml index 554b86d..106c510 100644 --- a/src/main/resources/application-pro.yml +++ b/src/main/resources/application-pro.yml @@ -1,20 +1,38 @@ server: port: 18090 - - spring: datasource: - driver-class-name: com.mysql.jdbc.Driver + driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://139.224.69.76:3306/data_admin?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true username: dsmp password: Datacvg123! - 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 + redis: + host: 127.0.0.1 + port: 6379 + timeout: 500 + password: datacvg123 + lettuce: + pool: + max-idle: 50 + min-idle: 10 + max-active: 100 + max-wait: 1000 activiti: - database-schema-update: flase + database-schema-update: true thymeleaf: cache: false @@ -39,17 +57,29 @@ column-underline: true redis: - host: http://127.0.0.1 - port: 9107 + url: http://127.0.0.1:9107 + +user: + url: http://180.169.94.250:9107 +mq: + url: http://127.0.0.1:9107 + + +todo: + url: http://127.0.0.1:9107 + +notice: + url: http://127.0.0.1:9107 + +antianaphy: + url: http://127.0.0.1:9107 rule: url: http://127.0.0.1:9107 - xxljob: - local: http://127.0.0.1:9010 - url: http://127.0.0.1:6890 - bak: + local: http://127.0.0.1:18090 + url: http://127.0.0.1:8090 xxl: job: accessToken: @@ -62,7 +92,6 @@ admin: addresses: http://127.0.0.1:8090/xxl-job-admin - master: unbigdata: db: @@ -74,4 +103,11 @@ username: dsmp password: Datacvg123! bigdata: - db:hbase? \ No newline at end of file + db:hbase? + +pool: + coresize: 5 + coefficient: 20 + timeout: 3000000 + aes: false + aesurl: http://127.0.0.1:9107 \ No newline at end of file -- Gitblit v1.8.0