Skip to content

Commit

Permalink
add connection pool
Browse files Browse the repository at this point in the history
  • Loading branch information
huyvu8051 committed Jun 14, 2024
1 parent 995afa3 commit e5e6e1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hicha-business/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ spring:
init:
mode: always

datasource:
hikari:
connection-timeout: 20000
maximum-pool-size: 10
minimum-idle: 5
idle-timeout: 30000
max-lifetime: 1800000


management:
endpoints:
Expand Down

0 comments on commit e5e6e1a

Please sign in to comment.