Add ttl configuration option to RedisIndex
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 toRedisIndex
Validation
N/A
Issues addressed
N/A