Spring RedisTemplate で 2000msecでタイムアウトで終了を期待して設定したけど 10000msec ほど Redis の処理で滞留することがある

設定追加でクリアできるか確認中

設定済
・spring.redis.pool.max-wait=2000
・spring.redis.timeout=2000

追加確認中
・spring.redis.cluster.max-redirects

参考
・デフォは5回?(2000×5...)
https://github.com/spring-projects/spring-data-redis/blob/master/src/main/java/org/springframework/data/redis/connection/jedis/JedisConnectionFactory.java#L412
・API
https://docs.spring.io/spring-boot/docs/1.5.7.RELEASE/reference/html/common-application-properties.html
https://docs.spring.io/spring-data/redis/docs/1.5.x/api/org/springframework/data/redis/connection/jedis/JedisConnectionFactory.html

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.