chore: optimize HikariCP pool and JVM memory for Raspberry Pi

This commit is contained in:
2025-09-20 10:07:11 +02:00
parent ab0e2ffa68
commit a42a8dd3a5
2 changed files with 6 additions and 3 deletions

View File

@@ -27,8 +27,11 @@ spring:
password: ${DB_PASSWORD:postgres}
driver-class-name: org.postgresql.Driver
hikari:
maximum-pool-size: 20
minimum-idle: 5
maximum-pool-size: 3
minimum-idle: 1
idle-timeout: 30000
connection-timeout: 10000
leak-detection-threshold: 10000
jpa:
hibernate: