diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-05 18:44:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 18:44:33 +0200 |
commit | 3d8b80e1cc8206d3a2d9904eb216269f0e38e66a (patch) | |
tree | 0bef7e42e35c04b2a4243f458909b86edf5aa278 /app/workers/distribution_worker.rb | |
parent | 7bed4e51db18c864c36c6b48eb22c65f11c16b1c (diff) | |
parent | b142a2ebf51fb140062e52cb283736b6d4abe725 (diff) |
Merge branch 'master' into broadcast-to-worker
Diffstat (limited to 'app/workers/distribution_worker.rb')
-rw-r--r-- | app/workers/distribution_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/distribution_worker.rb b/app/workers/distribution_worker.rb index f4e738d80..9a2867ea6 100644 --- a/app/workers/distribution_worker.rb +++ b/app/workers/distribution_worker.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class DistributionWorker +class DistributionWorker < ApplicationWorker include Sidekiq::Worker def perform(status_id) @@ -9,6 +9,6 @@ class DistributionWorker FanOutOnWriteService.new.call(status) WarmCacheService.new.call(status) rescue ActiveRecord::RecordNotFound - true + info("Couldn't find the status") end end |