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