Skip to content

Commit

Permalink
BUG-67 // Spring retry connection until datasource is available (#68)
Browse files Browse the repository at this point in the history
Co-authored-by: Raghav2211 <[email protected]>
  • Loading branch information
Raghav2211 and devraghv authored Dec 21, 2020
1 parent 91e9726 commit acf3ccb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions todo-app/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ spring.jpa.show-sql = true
spring.jpa.hibernate.ddl-auto = update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL8Dialect

# https://github.com/brettwooldridge/HikariCP#infrequently-used
spring.datasource.hikari.initializationFailTimeout=60000

## Configure info endpoint
info.app.name=PSI Todo
info.app.description=PSI Todo Rest API
Expand Down

0 comments on commit acf3ccb

Please sign in to comment.