0
0
Fork 0

Improve feed regeneration

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

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