You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
The TTL (Time to Live) for Redis tag keys is currently hardcoded to 720*time.Hour (30 days). This results in excessive memory consumption in Redis instances, as tags persist far longer than the associated cached values (which have significantly shorter TTLs).
Current Implementation
The TTL is set to 30 days in the setTags function:
Issue: Configurable TTL for Redis Tag Keys
Problem
The TTL (Time to Live) for Redis tag keys is currently hardcoded to
720*time.Hour
(30 days). This results in excessive memory consumption in Redis instances, as tags persist far longer than the associated cached values (which have significantly shorter TTLs).Current Implementation
The TTL is set to 30 days in the
setTags
function:Link to code
Request
Add the ability to configure the TTL duration for Redis tag keys instead of using a hardcoded value.
The text was updated successfully, but these errors were encountered: