mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
7 lines
145 B
Ruby
7 lines
145 B
Ruby
class DistributionWorker
|
|
include Sidekiq::Worker
|
|
|
|
def perform(status_id)
|
|
FanOutOnWriteService.new.call(Status.find(status_id))
|
|
end
|
|
end
|