Improve feed regeneration
This commit is contained in:
1 parent
096bfbad96
commit
bb4d1eb2e8
5 files changed
+15
-11
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user