Commit Graph

3 Commits (2b4a61b8edf63c9caf06f752daff3bfcaa32eb9d)

Author SHA1 Message Date
aschmitz 4dbdda6b89 Clean up reblog tracking keys, related improvements ()
* Clean up reblog-tracking sets from FeedManager

Builds on , with a few minor optimizations and cleanup of sets
after they are no longer needed.

* Update tests, fix multiply-reblogged case

Previously, we would have lost the fact that a given status was
reblogged if the displayed reblog of it was removed, now we don't.

Also added tests to make sure FeedManager#trim cleans up our reblog
tracking keys, fixed up FeedCleanupScheduler to use the right loop,
and fixed the test for it.
2017-10-17 11:45:06 +02:00
Akihiko Odaki (@fn_aki@pawoo.net) fa7649409b Overwrite old statuses with reblogs in PrecomputeFeedService () 2017-06-28 14:50:23 +02:00
Matt Jankowski 0eb8b00cc9 Specs for cleanup workers ()
* Add spec files for feed and media cleanup workers

* Add coverage for feed and media cleanup schedulers

* Clean up feed and media cleanup workers
2017-05-22 19:36:21 +02:00