Only call regeneration worker after first login after a 14 day break
This commit is contained in:
parent
4c53af64f0
commit
b510a56c0c
4 changed files with 19 additions and 13 deletions
|
@ -5,7 +5,7 @@ class RegenerationWorker
|
|||
|
||||
sidekiq_options queue: 'pull', backtrace: true
|
||||
|
||||
def perform(account_id, timeline_type)
|
||||
PrecomputeFeedService.new.call(timeline_type, Account.find(account_id))
|
||||
def perform(account_id, _ = :home)
|
||||
PrecomputeFeedService.new.call(:home, Account.find(account_id))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue