How to configure these two attributes in the new version of spring-boot-starter-data-redis

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?

Mar.14,2021

spring.redis.jedis.pool.max-wait=-1ms

spring.redis.timeout=2000ms
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3af57-e7a5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3af57-e7a5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?