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

class DistributionWorker
  include Sidekiq::Worker

  def perform(status_id)
    FanOutOnWriteService.new.call(Status.find(status_id))
  end
end