Skip to content

Add ttl configuration option to RedisIndex

Neill Whillans requested to merge neill/redis-index-ttl into master

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests
  • Metrics
  • Documentation update(s)

If not required, please explain in brief why not.

Description

This requests aims to add a configuration option for the expiry time of a key in RedisIndex, which defines the time to live (ttl) in days. This is an optional configuration, with the default set to 60 days.

This replaces the current hard-coded expiry time of 365 days.

Changes proposed in this merge request:

  • Adds ttl configuration option to RedisIndex

Validation

N/A

Issues addressed

N/A

Merge request reports