mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
db properties update
This commit is contained in:
parent
3b1ad0b7d9
commit
7ac1d94736
1 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,11 @@ database=h2
|
|||
spring.sql.init.schema-locations=classpath*:db/${database}/schema.sql
|
||||
spring.sql.init.data-locations=classpath*:db/${database}/data.sql
|
||||
|
||||
# DB 죽었을 때 30초 대기하지 말고 빨리 실패
|
||||
spring.datasource.hikari.connection-timeout=3000
|
||||
spring.datasource.hikari.validation-timeout=2000
|
||||
spring.datasource.hikari.initialization-fail-timeout=0
|
||||
|
||||
# Web
|
||||
spring.thymeleaf.mode=HTML
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue