Skip to content

Commit 46a9555

Browse files
committed
fix: dbcp 설정
1 parent 5c8af85 commit 46a9555

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

src/main/resources/application.yaml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ spring:
1616
url: ${DB_URL:jdbc:postgresql://localhost:5432/climbup_db}
1717
username: ${DB_USERNAME:root}
1818
password: ${DB_PASSWORD:password}
19+
hikari:
20+
minimum-idle: 5
21+
maximum-pool-size: 20
22+
connection-timeout: 30000
23+
max-lifetime: 1800000
1924

2025
data:
2126
redis:
@@ -75,25 +80,26 @@ app:
7580
authorized-redirect-uris: ${OAUTH_AUTHORIZED_REDIRECT_URIS}
7681
default-redirect-uri: ${OAUTH_DEFAULT_REDIRECT_URI}
7782

78-
logging:
79-
level:
80-
root: INFO
81-
com.climbup.climbup: DEBUG
82-
org.springframework.security: DEBUG
83-
org.springframework.web.servlet.resource: WARN
84-
org.hibernate.SQL: DEBUG
85-
org.hibernate.type.descriptor.sql.BasicBinder: WARN
86-
org.apache.catalina.core: WARN
87-
org.springframework.web.servlet.PageNotFound: WARN
88-
89-
# 운영
9083
# logging:
9184
# level:
9285
# root: INFO
93-
# com.climbup.climbup: INFO
94-
# org.springframework.security: WARN
95-
# org.springframework.web.servlet.resource: ERROR
96-
# org.hibernate.SQL: WARN
86+
# com.climbup.climbup: DEBUG
87+
# org.springframework.security: DEBUG
88+
# org.springframework.web.servlet.resource: WARN
89+
# org.hibernate.SQL: DEBUG
90+
# org.hibernate.type.descriptor.sql.BasicBinder: WARN
91+
# org.apache.catalina.core: WARN
92+
# org.springframework.web.servlet.PageNotFound: WARN
93+
94+
# 운영
95+
logging:
96+
level:
97+
root: INFO
98+
com.climbup.climbup: INFO
99+
org.springframework.security: WARN
100+
org.springframework.web.servlet.resource: ERROR
101+
org.hibernate.SQL: WARN
102+
com.zaxxer.hikari: DEBUG
97103

98104
auth:
99105
nickname:

0 commit comments

Comments
 (0)