diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index bd28b9e..ebe00e9 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -10,7 +10,13 @@ JWT_SECRET=${JWT_SECRET} # Actuator endpoints management.endpoints.web.exposure.include=* management.endpoint.prometheus.enabled=true -spring.datasource.hikari.maximum-pool-size=20 + +#HikariCP configuration +spring.datasource.hikari.maximum-pool-size=10 +spring.datasource.hikari.minimum-idle=5 +spring.datasource.hikari.idle-timeout=30000 +spring.datasource.hikari.max-lifetime=1800000 +spring.datasource.hikari.connection-timeout=30000 # Prometheus configuration management.prometheus.metrics.export.enabled=true