class Sidekiq::Cron::Poller
def enqueue
def enqueue time = Time.now.utc Sidekiq::Cron::Job.all('*').each do |job| enqueue_job(job, time) end rescue => ex # Most likely a problem with redis networking. # Punt and try again at the next interval. Sidekiq.logger.error ex.message Sidekiq.logger.error ex.backtrace.first handle_exception(ex) if respond_to?(:handle_exception) end