Open GohKianSeng opened 3 months ago
just realised if i used saveAll. the Time to live is set. is that a bug?
Sounds like a bug! Did you just used save
?
yes i used repository.save
hello @bsbodden for saveAll also has issue i guess.
the controller save() has TTL set.
but using PostConstruct doesn't work
Redis Insight
@GohKianSeng I can't seem to be able to replicate the issue, could you create a simple reproducer app? Just models, repository and a CommandLineRunner to run your scenario?
@GohKianSeng I don't think we have added support for @PostConstruct
, that might be the root of the issue here
hello @bsbodden, I also get the same issue, the documents is saved without TTL when using save()
hello this is my entity model. set the time to live but in redis insight, show no limit.
`@Document("TestResultRedis", timeToLive = 5 * 60) data class TestResultRedisModel( @Id val id: Long?,
)`