55 lines
1.8 KiB
YAML
55 lines
1.8 KiB
YAML
spring:
|
|
config:
|
|
activate:
|
|
on-profile: dev
|
|
|
|
jpa:
|
|
show-sql: false
|
|
hibernate:
|
|
ddl-auto: validate
|
|
properties:
|
|
hibernate:
|
|
default_batch_fetch_size: 100 # ✅ 성능 - N+1 쿼리 방지
|
|
order_updates: true # ✅ 성능 - 업데이트 순서 정렬로 데드락 방지
|
|
order_inserts: true
|
|
use_sql_comments: true # ⚠️ 선택 - SQL에 주석 추가 (디버깅용)
|
|
format_sql: true # ⚠️ 선택 - SQL 포맷팅 (가독성)
|
|
jdbc:
|
|
batch_size: 1000 # ✅ 추가 (JDBC batch)
|
|
open-in-view: false
|
|
mvc:
|
|
async:
|
|
request-timeout: 300s # 5분 (예: 30s, 120s, 10m 등도 가능)
|
|
|
|
datasource:
|
|
url: jdbc:postgresql://192.168.2.127:15432/kamco_cds
|
|
username: kamco_cds
|
|
password: kamco_cds_Q!W@E#R$
|
|
hikari:
|
|
minimum-idle: 10
|
|
maximum-pool-size: 20
|
|
connection-timeout: 60000 # 60초 연결 타임아웃
|
|
idle-timeout: 300000 # 5분 유휴 타임아웃
|
|
max-lifetime: 1800000 # 30분 최대 수명
|
|
leak-detection-threshold: 60000 # 연결 누수 감지
|
|
|
|
transaction:
|
|
default-timeout: 300 # 5분 트랜잭션 타임아웃
|
|
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
org.springframework.web: INFO
|
|
org.springframework.security: INFO
|
|
|
|
# 헬스체크 노이즈 핵심만 다운
|
|
org.springframework.security.web.FilterChainProxy: INFO
|
|
org.springframework.security.web.authentication.AnonymousAuthenticationFilter: INFO
|
|
org.springframework.security.web.authentication.Http403ForbiddenEntryPoint: INFO
|
|
org.springframework.web.servlet.DispatcherServlet: INFO
|
|
|
|
gukyuin:
|
|
url: http://192.168.2.129:5301
|
|
cdi: ${gukyuin.url}/api/kcd/cdi
|
|
|