redis-om-spring
redis-om-spring copied to clipboard
Time to live not set when using save when using `@PostConstruct`
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?,
@Searchable
val uuid: String?,
@Searchable
val uatId: String?,
@Searchable
val msgType: String?,
@Searchable
val filename: String?,
@Searchable
val status: String?,
@Searchable
val result: String?,
val overrideStatus: String?,
val remarksSnapshotId: Long?,
@Searchable
val actualCodes: List<String>,
val mappedActualCodes: List<String>,
@Searchable
val expectedCodes: List<String>,
val mappedExpectedCodes: List<String>,
@Searchable
val expectedUserCodes: List<String>,
val batchJobStatus: String?,
val expectedBatchJobStatus: String?,
val expectedUserBatchJobStatus: String?,
@Searchable
val remark: String?,
val remarkDate: String?,
val remarkUuid: String?,
@Searchable
val remarkHashTags: List<String>?,
@Searchable
val assignee: String?,
val user: String?,
@Searchable
var kivIndicator: Boolean?,
@Searchable
val manualIndicator: Boolean?,
val overwrite: Boolean?
)`