From 0f7e0a00d950a761893826fcb80e35902ca8af50 Mon Sep 17 00:00:00 2001 From: githubname1024 Date: Wed, 26 Jun 2024 18:00:27 +0800 Subject: [PATCH] cachecloud 3.3 --- cachecloud-web/sql/3.3.sql | 2 +- cachecloud-web/src/main/resources/application-local.yml | 8 ++++---- cachecloud-web/src/main/resources/application-online.yml | 8 ++++---- cachecloud-web/src/main/resources/application-open.yml | 8 ++++---- cachecloud-web/src/main/resources/application-test.yml | 8 ++++---- cachecloud-web/src/main/resources/application.yml | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/cachecloud-web/sql/3.3.sql b/cachecloud-web/sql/3.3.sql index 455fbf61..de2e4e75 100644 --- a/cachecloud-web/sql/3.3.sql +++ b/cachecloud-web/sql/3.3.sql @@ -1762,7 +1762,7 @@ CREATE TABLE `app_import` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ----------------------------新增加的表--------------------------- +-- -------------------------新增加的表--------------------------- -- -- Table structure for table `app_biz` -- diff --git a/cachecloud-web/src/main/resources/application-local.yml b/cachecloud-web/src/main/resources/application-local.yml index b39a756b..d869d3b0 100644 --- a/cachecloud-web/src/main/resources/application-local.yml +++ b/cachecloud-web/src/main/resources/application-local.yml @@ -17,11 +17,11 @@ server: cachecloud: primary: - url: jdbc:mysql://127.0.0.1:3306/cachecloud_open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai - user: cachecloud-open + jdbcUrl: jdbc:mysql://127.0.0.1:3306/cachecloud_open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai + username: cachecloud-open password: cachecloud-open - initialPoolSize: 1 - maxPoolSize: 3 + minimumIdle: 1 + maximumPoolSize: 3 redis: #配置cachecloud-web需要的redis,用户存储任务流log enable: true #if config redis, suggest config true main: diff --git a/cachecloud-web/src/main/resources/application-online.yml b/cachecloud-web/src/main/resources/application-online.yml index 828050d1..d450e0e2 100644 --- a/cachecloud-web/src/main/resources/application-online.yml +++ b/cachecloud-web/src/main/resources/application-online.yml @@ -12,11 +12,11 @@ server: cachecloud: primary: - url: jdbc:mysql://127.0.0.1:3306/cachecloud-open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai - user: cachecloud-open + jdbcUrl: jdbc:mysql://127.0.0.1:3306/cachecloud-open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai + username: cachecloud-open password: cachecloud-open - initialPoolSize: 10 - maxPoolSize: 50 + minimumIdle: 10 + maximumPoolSize: 50 redis: #配置cachecloud-web需要的redis,用户存储任务流log enable: true #if config redis, suggest config true main: diff --git a/cachecloud-web/src/main/resources/application-open.yml b/cachecloud-web/src/main/resources/application-open.yml index 4bdc68c5..97fc9e3f 100644 --- a/cachecloud-web/src/main/resources/application-open.yml +++ b/cachecloud-web/src/main/resources/application-open.yml @@ -12,11 +12,11 @@ server: cachecloud: primary: - url: jdbc:mysql://127.0.0.1:3306/cachecloud-open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai - user: cachecloud-open + jdbcUrl: jdbc:mysql://127.0.0.1:3306/cachecloud-open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai + username: cachecloud-open password: cachecloud-open - initialPoolSize: 10 - maxPoolSize: 50 + minimumIdle: 10 + maximumPoolSize: 50 redis: #配置cachecloud-web需要的redis,用户存储任务流log enable: true #if config redis, suggest config true main: diff --git a/cachecloud-web/src/main/resources/application-test.yml b/cachecloud-web/src/main/resources/application-test.yml index 7c8b6f8c..c59fc3de 100644 --- a/cachecloud-web/src/main/resources/application-test.yml +++ b/cachecloud-web/src/main/resources/application-test.yml @@ -12,11 +12,11 @@ server: cachecloud: primary: - url: jdbc:mysql://127.0.0.1:3306/cachecloud-open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai - user: cachecloud-open + jdbcUrl: jdbc:mysql://127.0.0.1:3306/cachecloud-open?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&connectTimeout=3000&socketTimeout=10000&serverTimezone=Asia/Shanghai + username: cachecloud-open password: cachecloud-open - initialPoolSize: 3 - maxPoolSize: 20 + minimumIdle: 3 + maximumPoolSize: 20 redis: #配置cachecloud-web需要的redis,用户存储任务流log enable: true #if config redis, suggest config true main: diff --git a/cachecloud-web/src/main/resources/application.yml b/cachecloud-web/src/main/resources/application.yml index c1c0252d..716e064e 100644 --- a/cachecloud-web/src/main/resources/application.yml +++ b/cachecloud-web/src/main/resources/application.yml @@ -40,7 +40,7 @@ spring: force: true cachecloud: primary: - driver: com.mysql.cj.jdbc.Driver + driverClassName: com.mysql.cj.jdbc.Driver validationQuery: select 1 from dual connectionTimeout: 60000 idleTimeout: 600000