Skip to content

Commit

Permalink
controlling sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldverg committed Aug 12, 2024
1 parent 4e99dc3 commit 1f17e36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/application-cockroach.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:${COCKROACH_URI:postgresql://localhost:26257/job_details?sslmode=disable}
spring.datasource.username=${COCKROACH_USER:root}
spring.datasource.password=${COCKROACH_PASS:root}
#Hikari sizing controls
spring.datasource.hikari.minimum-idle=5
spring.datasource.hikari.maximum-pool-size=${HIKARI_POOL_SIZE:1024}
spring.datasource.hikari.idle-timeout=100000
spring.datasource.hikari.max-lifetime=1800000
spring.datasource.hikari.connection-timeout=30000

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
Expand Down

0 comments on commit 1f17e36

Please sign in to comment.