module Delayed::Maintenance

Public Instance Methods

work_off(num=100) click to toggle source
Calls superclass method
# File lib/delayed_job_maintenance/maintenance.rb, line 3
def work_off(num=100)
  if File.exist?(DelayedJobMaintenance.configuration.maintenance_file)
    return [0,0]
  end

  super(num)
end