Removed debug information.
This commit is contained in:
parent
a160c518e1
commit
c35e2a0aab
1 changed files with 0 additions and 1 deletions
|
@ -335,7 +335,6 @@ class Scheduler < ApplicationModel
|
||||||
loop do
|
loop do
|
||||||
success, failure = Delayed::Worker.new.work_off
|
success, failure = Delayed::Worker.new.work_off
|
||||||
if failure.nonzero?
|
if failure.nonzero?
|
||||||
p Delayed::Job.where('last_error IS NOT NULL').to_json # rubocop:disable Rails/Output
|
|
||||||
raise "ERROR: #{failure} failed background jobs: #{Delayed::Job.where('last_error IS NOT NULL').inspect}"
|
raise "ERROR: #{failure} failed background jobs: #{Delayed::Job.where('last_error IS NOT NULL').inspect}"
|
||||||
end
|
end
|
||||||
break if success.zero?
|
break if success.zero?
|
||||||
|
|
Loading…
Reference in a new issue