diff --git a/api/src/main/resources/application.properties b/api/src/main/resources/application.properties index d79e646f..3c2e17ea 100644 --- a/api/src/main/resources/application.properties +++ b/api/src/main/resources/application.properties @@ -20,7 +20,7 @@ management.endpoint.metrics.enabled=true management.endpoints.web.exposure.include=* management.endpoint.prometheus.enabled=true management.prometheus.metrics.export.enabled=true -spring.jpa.properties.hibernate.generate_statistics=false +spring.jpa.properties.hibernate.generate_statistics=true spring.datasource.hikari.max-lifetime=120000 spring.jmx.enabled=false spring.flyway.baseline-on-migrate=true @@ -121,5 +121,5 @@ sagas.max.parallel=${SAGAS_MAX_PARALLEL} #Logging to debug Hikari logging.level.com.zaxxer.hikari.HikariConfig=DEBUG logging.level.com.zaxxer.hikari=TRACE -spring.datasource.hikari.leak-detection-threshold=10000 -spring.jpa.properties.hibernate.connection.handling_mode=DELAYED_ACQUISITION_AND_RELEASE_AFTER_TRANSACTION \ No newline at end of file +spring.datasource.hikari.leak-detection-threshold=20000 +#TODO remove after changed spring.jpa.properties.hibernate.generate_statistics=true