Skip to content

Purge expired postings cache items due inactivity#6502

Merged
alanprot merged 2 commits into
cortexproject:masterfrom
alanprot:postings-cache-expire
Jan 10, 2025
Merged

Purge expired postings cache items due inactivity#6502
alanprot merged 2 commits into
cortexproject:masterfrom
alanprot:postings-cache-expire

Conversation

@alanprot
Copy link
Copy Markdown
Member

What this PR does:
Create a background routine to purge expired items from the postings cache.

Before this change, items can linger indefinitely in the cache if no new items were aded.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • [NA] Documentation added
  • [NA] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants