Skip to content

Commit

Permalink
Update #18 - application.properties for longer quiet period of restart
Browse files Browse the repository at this point in the history
애플리케이션 기능이 늘어남에 따라
devtools restart 가 리소스를 다 읽는 시간이 부족해지는 듯
이 옵션으로 기다려주는 시간을 늘려서
스프링 부트가 restart 시 2번 뜨지 않게 조절
  • Loading branch information
bmcho committed Aug 16, 2022
1 parent 3edf07d commit 1cf3cad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ spring.jpa.properties.hibernate.default_batch_fetch_size=100
spring.h2.console.enabled=false
spring.datasource.url=jdbc:mysql://localhost:3306/getinline


spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.sql.init.mode=always


# Api
spring.data.rest.base-path=/api

# Devtools
spring.devtools.restart.quiet-period=800ms

0 comments on commit 1cf3cad

Please sign in to comment.