diff options
Diffstat (limited to 'app/workers/distribution_worker.rb')
-rw-r--r-- | app/workers/distribution_worker.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/workers/distribution_worker.rb b/app/workers/distribution_worker.rb new file mode 100644 index 000000000..d529ed87f --- /dev/null +++ b/app/workers/distribution_worker.rb @@ -0,0 +1,7 @@ +class DistributionWorker + include Sidekiq::Worker + + def perform(status_id) + FanOutOnWriteService.new.(Status.find(status_id)) + end +end |