Lower max lifetime value for mysql connection
This commit is contained in:
parent
37afc78824
commit
144305a6c0
@ -18,7 +18,7 @@ dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client:1.5.7'
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client'
|
||||
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
||||
|
@ -1,4 +1,5 @@
|
||||
server.port=80
|
||||
spring.data.rest.basePath=/api
|
||||
spring.datasource.hikari.initialization-fail-timeout=0
|
||||
spring.datasource.hikari.max-lifetime=300000
|
||||
spring.profiles.active=prod
|
Loading…
Reference in New Issue
Block a user