about summary refs log tree commit diff
path: root/app/workers/regeneration_worker.rb
blob: 3aece0ba28a63061bc5440f514111aaf74a6e8af (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class RegenerationWorker
  include Sidekiq::Worker

  def perform(account_id, timeline_type)
    PrecomputeFeedService.new.call(timeline_type, Account.find(account_id))
  end
end