socketTimeout 시간 설정

This commit is contained in:
kubo8
2022-12-22 14:53:22 +09:00
parent ab23b2e2fe
commit 18c0142b6a

View File

@@ -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