datasource:
task:
hikari:
cacheEnabled: true
initial-size: 10
log-abandoned: false
max-active: 30
max-idle: 10
min-idle: 5
max-wait: 5000
min-evictable-idle-time-millis: 600000
remove-abandoned: true
remove-abandoned-timeout: 1800
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 300000
validation-query: select 1
jdbcUrl: jdbc:postgresql://localhost/test
username: x
password: x
反复查了好久资料,各种尝试了之后都不行,过一段时间空闲连接就会又断开,现在使用的是上面的配置,但仍然不行,请高人指点