Skip to content

AO3-7312 Remove CollectionSweeper and move cache expiry to models#5715

Open
0111-0222 wants to merge 2 commits intootwcode:masterfrom
0111-0222:AO3-7312-remove-collection-sweeper
Open

AO3-7312 Remove CollectionSweeper and move cache expiry to models#5715
0111-0222 wants to merge 2 commits intootwcode:masterfrom
0111-0222:AO3-7312-remove-collection-sweeper

Conversation

@0111-0222
Copy link
Copy Markdown

@0111-0222 0111-0222 commented Apr 8, 2026

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7312

Purpose

The CollectionSweeper class was legacy rails cache sweeper that expired collection blurb and profile fragment caches. I removed the sweeper and moved the cache expiry logic into after_commit callbacks on the Collection, CollectionProfile, CollectionParticipant, and CollectionItem models

Testing Instructions

See Jira

Credit

0111-0222 (he/him)

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.

1 participant