0
0
Fork 0

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:
Eugen Rochko 2016-03-25 03:22:26 +01:00
parent 42dcb0d4cb
commit 8eeec389c1
5 changed files with 29 additions and 7 deletions

View file

@ -0,0 +1,7 @@
class DistributionWorker
include Sidekiq::Worker
def perform(status_id)
FanOutOnWriteService.new.(Status.find(status_id))
end
end