mirror of https://github.com/mastodon/mastodon
Improve feed regeneration
parent
096bfbad96
commit
bb4d1eb2e8
@ -0,0 +1,7 @@
|
|||||||
|
class RegenerationWorker
|
||||||
|
include Sidekiq::Worker
|
||||||
|
|
||||||
|
def perform(account_id, timeline_type)
|
||||||
|
PrecomputeFeedService.new.call(timeline_type, Account.find(account_id))
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue