Improve feed regeneration

This commit is contained in:
Eugen Rochko committed 2016-11-08 02:08:32 +01:00
1 parent 096bfbad96
commit bb4d1eb2e8
5 files changed
+15 -11

No files matched your search

+7
View File
@@ -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