Add link to github project to footer, move FanOutOnWriteService calls to
DistributionWorker. That isn't the heaviest service, yet, but gotta start somewhere
This commit is contained in:
7
app/workers/distribution_worker.rb
Normal file
7
app/workers/distribution_worker.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class DistributionWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform(status_id)
|
||||
FanOutOnWriteService.new.(Status.find(status_id))
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user