Looking at the code related to spring.redis.timeout application property, it seems to apply inconsistently across its implementations as follows:

  • Jedis: Connect and read timeouts
  • Lettuce: Command (read) timeout

Its document says "Connection timeout.".

Aside from its inconsistency, it would be good if connect and read timeouts could be configured separately.

Comment From: snicoll

Closing in favour of PR #23137