From 0e9c532b21fc75569c842636e2a293008c11716b Mon Sep 17 00:00:00 2001 From: Faishal Nelwan <108632813+pesolosep@users.noreply.github.com> Date: Fri, 31 May 2024 16:59:48 +0700 Subject: [PATCH] [FIX] fix gcp problem, ga curang :DDD --- src/main/resources/application-prod.properties | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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