Sha256: cb7386130f0f6f63570aab00fba6fde07afc5ecd673be1aeee1ded32f641c334
Contents?: true
Size: 541 Bytes
Versions: 7
Compression:
Stored size: 541 Bytes
Contents
require "qe" require "sidekiq" module Qe class Sidekiq class Worker include ::Sidekiq::Worker def perform(*args) Qe::Worker.perform(*args) end end def self.enqueue(worker, options = {}) Worker.sidekiq_options :queue => worker.queue Worker.perform_async(worker.name, options) end def self.schedule(worker, run_at, options = {}) Worker.sidekiq_options :queue => worker.queue Worker.perform_at(run_at, worker.name, options) end end self.adapter = Sidekiq end
Version data entries
7 entries across 7 versions & 1 rubygems