Skip to content

Time to live not set when using save when using @PostConstruct #458

@GohKianSeng

Description

@GohKianSeng

hello this is my entity model.
set the time to live but in redis insight, show no limit.

image image

`@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?

)`

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv1.0.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions