diff --git a/austin-web/src/main/resources/application.properties b/austin-web/src/main/resources/application.properties index 4af4532..a179333 100644 --- a/austin-web/src/main/resources/application.properties +++ b/austin-web/src/main/resources/application.properties @@ -8,6 +8,16 @@ spring.datasource.url=jdbc:mysql://${austin.database.ip:austin-mysql}:${austin.d spring.datasource.username=${austin.database.username:root} spring.datasource.password=${austin.database.password:root123_A} spring.datasource.driver-class-name=com.mysql.jdbc.Driver +spring.datasource.type=com.zaxxer.hikari.HikariDataSource +spring.datasource.hikari.minimum-idle=10 +spring.datasource.hikari.maximum-pool-size=30 +spring.datasource.hikari.auto-commit=true +spring.datasource.hikari.idle-timeout=30000 +spring.datasource.hikari.pool-name=HikariCP +spring.datasource.hikari.max-lifetime=900000 +spring.datasource.hikari.connection-timeout=10000 +spring.datasource.hikari.connection-test-query=SELECT 1 +spring.datasource.hikari.validation-timeout=1000 ########################################## database end ########################################## ########################################## redis start ##########################################