Skip to content

Commit

Permalink
set hikari max lifetime (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
farrell-m authored Aug 2, 2024
1 parent 9586f55 commit e258ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caab-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ spring:
driver-class-name: oracle.jdbc.OracleDriver
username: ${CAAB_DATASOURCE_USERNAME}
password: ${CAAB_DATASOURCE_PASSWORD}

hikari:
maxLifeTime: 300000 # 5 minutes
jpa:
database-platform: org.hibernate.dialect.OracleDialect
hibernate:
Expand Down

0 comments on commit e258ff5

Please sign in to comment.