From 18c0142b6a8e62d6c78d729c439cf31bc51546ad Mon Sep 17 00:00:00 2001 From: kubo8 Date: Thu, 22 Dec 2022 14:53:22 +0900 Subject: [PATCH] =?UTF-8?q?socketTimeout=20=EC=8B=9C=EA=B0=84=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-stg.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application-stg.yml b/src/main/resources/application-stg.yml index eaa3788..a036fd6 100644 --- a/src/main/resources/application-stg.yml +++ b/src/main/resources/application-stg.yml @@ -1,30 +1,30 @@ spring: datasource-db1: driver-class-name: org.mariadb.jdbc.Driver - jdbc-url: jdbc:mariadb:aurora://stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306,stg-msghubez-db.cluster-ro-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true + jdbc-url: jdbc:mariadb:aurora://stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306,stg-msghubez-db.cluster-ro-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true&socketTimeout=60000 username: hubez_svc password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) hikari: pool-name: hikari-cp maximum-pool-size: 30 minimum-idle: 5 - connection-timeout: 3200000 + connection-timeout: 5000 connection-init-sql: SELECT 1 - validation-timeout: 1800000 + validation-timeout: 2000 idle-timeout: 600000 max-lifetime: 1800000 datasource-db2: driver-class-name: org.mariadb.jdbc.Driver - jdbc-url: jdbc:mariadb:aurora://stg-msghubez-db.cluster-ro-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306,stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true + jdbc-url: jdbc:mariadb:aurora://stg-msghubez-db.cluster-ro-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306,stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true&socketTimeout=60000 username: hubez_svc password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) hikari: pool-name: hikari-cp maximum-pool-size: 30 minimum-idle: 5 - connection-timeout: 3200000 + connection-timeout: 5000 connection-init-sql: SELECT 1 - validation-timeout: 1800000 + validation-timeout: 2000 idle-timeout: 600000 max-lifetime: 1800000