Replace removed RedisCacheConfiguration.getTtl()
ProprietarySpring Data Redis 4.0 removes RedisCacheConfiguration.getTtl(). Replaces calls with getTtlFunction().getTimeToLive(null, null), which returns the same Duration.
io. moderne. java. spring. boot4. ReplaceRedisCacheConfigurationGetTtlmod run . --recipe= io. moderne. java. spring. boot4. ReplaceRedisCacheConfigurationGetTtlInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.