This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/workers/scheduler
aschmitz 554c2fd8af Clean up reblog tracking keys, related improvements (#5428)
* Clean up reblog-tracking sets from FeedManager

Builds on #5419, 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
..
feed_cleanup_scheduler_spec.rb Clean up reblog tracking keys, related improvements (#5428) 2017-10-17 11:45:06 +02:00
media_cleanup_scheduler_spec.rb Specs for cleanup workers (#3235) 2017-05-22 19:36:21 +02:00
subscriptions_scheduler_spec.rb Fix Scheduler::SubscriptionsScheduler (#2834) 2017-05-06 13:05:03 +02:00