1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-22 10:38:14 +09:00
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 Bind web UI access tokens to sessions (#3940) 2017-06-25 23:51:32 +02:00
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 Move clean up of unconfirmed users to sidekiq-scheduler (#4336) 2017-07-24 16:17:55 +02:00