Skip to content

Commit

Permalink
Updated database connection properties and added keep-alive configura…
Browse files Browse the repository at this point in the history
…tion in application.yml file.
  • Loading branch information
vnobo committed Apr 28, 2024
1 parent d492ddf commit b84bcd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion boot/platform/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ spring:
password: q1w2e3..
pool:
max-size: 32
initial-size: 16
max-idle-time: 10m
validation-query: select 1
max-validation-time: 10s
sql.init:
mode: always
platform: postgres
Expand Down
2 changes: 1 addition & 1 deletion boot/platform/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ server:

spring:
threads.virtual.enabled: true
#main.keep-alive: true
main.keep-alive: true
application.name: plate
webflux.format:
time: "HH:mm:ss"
Expand Down

0 comments on commit b84bcd7

Please sign in to comment.