This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/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
..
doorkeeper_cleanup_scheduler.rb
feed_cleanup_scheduler.rb Clean up reblog tracking keys, related improvements (#5428) 2017-10-17 11:45:06 +02:00
ip_cleanup_scheduler.rb Add scheduled worker to purge old user IPs (#4951) 2017-09-14 22:26:38 +02:00
media_cleanup_scheduler.rb Periodically remove expired PuSH subscribers (#4654) 2017-08-21 22:56:33 +02:00
subscriptions_cleanup_scheduler.rb Periodically remove expired PuSH subscribers (#4654) 2017-08-21 22:56:33 +02:00
subscriptions_scheduler.rb Periodically remove expired PuSH subscribers (#4654) 2017-08-21 22:56:33 +02:00
user_cleanup_scheduler.rb