Skip to content

Commit

Permalink
WIP removing statistics to compare how we are sending in JDBC stateme…
Browse files Browse the repository at this point in the history
…nts compared to legacy
  • Loading branch information
SoLetsDev committed Oct 13, 2023
1 parent 4469b90 commit c8c371b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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=true
spring.jpa.properties.hibernate.generate_statistics=false
spring.datasource.hikari.max-lifetime=120000
spring.jmx.enabled=false
spring.flyway.baseline-on-migrate=true
Expand Down Expand Up @@ -119,7 +119,7 @@ sagas.max.pending=${SAGAS_MAX_PENDING}
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=20000
#TODO remove after changed spring.jpa.properties.hibernate.generate_statistics=true
#logging.level.com.zaxxer.hikari.HikariConfig=DEBUG
#logging.level.com.zaxxer.hikari=TRACE
#spring.datasource.hikari.leak-detection-threshold=20000
#TODO remove after changed spring.jpa.properties.hibernate.generate_statistics=true done

0 comments on commit c8c371b

Please sign in to comment.