redis:
database: 4
host: localhost
password:
port: 6379
jedis:
pool:
max-idle: 8
min-idle: 0
max-active: 200
max-wait: { seconds: 10, nanos:0 }
timeout: { seconds: 120, nanos:0 }
the new version of the configuration, max-wait
and timeout
are no longer long
types, but have become Duration
types. This thing is an object. How can it be configured in yaml?