Skip to content

Commit

Permalink
WIP increased leak detection threshold to 20000, removing handling mo…
Browse files Browse the repository at this point in the history
…de and adding in generate_statistics to see the processing time.
  • Loading branch information
SoLetsDev committed Oct 5, 2023
1 parent 7be2ae6 commit f5da0c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
spring.datasource.hikari.leak-detection-threshold=20000
#TODO remove after changed spring.jpa.properties.hibernate.generate_statistics=true

0 comments on commit f5da0c9

Please sign in to comment.