Fixes T8473. Adds garbage collection to the phabricator_feed.feed_storynotification table.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T8473: Garbage collect old notifications
- Commits
- Restricted Diffusion Commit
rP5a00b5f6f62e: Garbage collect old notifications
Reduced the TTL to a really small value and ran the trigger daemon. Saw feed notifications removed from the database.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Let's just hard-code this TTL as 90 days. I want to get rid of the gcdaemon.ttl.* config since I think it's some of the least useful config we have, and I believe almost no one ever adjusts it.
(If someone comes up with some amazing use case, we could move the options to the Daemons application and have PhabricatorGarbageCollector classes automatically populate them.)