|
|
@@ -3,6 +3,16 @@ spring: |
|
|
jdbc-url: jdbc:mysql://127.0.0.1:3306/fpsmsdb?useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8 |
|
|
jdbc-url: jdbc:mysql://127.0.0.1:3306/fpsmsdb?useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8 |
|
|
username: root |
|
|
username: root |
|
|
password: secret |
|
|
password: secret |
|
|
|
|
|
hikari: |
|
|
|
|
|
max-lifetime: 1740000 # 29 minutes (1740000 ms) — safe below typical 8-hour default |
|
|
|
|
|
# Or if your wait_timeout is lower (e.g. 10 min), set to e.g. 540000 (9 min) |
|
|
|
|
|
# Other helpful settings: |
|
|
|
|
|
idle-timeout: 600000 # 10 min — evict idle sooner |
|
|
|
|
|
minimum-idle: 5 # Adjust based on your traffic |
|
|
|
|
|
maximum-pool-size: 20 # Tune to your needs |
|
|
|
|
|
connection-test-query: SELECT 1 # Explicit test (good for MySQL) |
|
|
|
|
|
validation-timeout: 5000 # 5 sec |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
scheduler: |
|
|
scheduler: |
|
|
postCompletedDnGrn: |
|
|
postCompletedDnGrn: |
|
|
|