mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
8eeec389c1
DistributionWorker. That isn't the heaviest service, yet, but gotta start somewhere
7 lines
141 B
Ruby
7 lines
141 B
Ruby
class DistributionWorker
|
|
include Sidekiq::Worker
|
|
|
|
def perform(status_id)
|
|
FanOutOnWriteService.new.(Status.find(status_id))
|
|
end
|
|
end
|