Sha256: c6c0f32a0564fa4fa55b7af432b376b15e96dea00e5f893c1149a73543860d54
Contents?: true
Size: 495 Bytes
Versions: 5
Compression:
Stored size: 495 Bytes
Contents
module Qujo module Queue module Resque class JobWorker @queue = :default class << self def perform(options={}) id = options["id"] job = ::Job.find(id) logger.info "JobWorker:perform #{job.class} #{id}" job.run rescue => e logger.error e.message logger.error e end def logger Qujo.logger end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems