lib/backburner.rb in backburner-allq-1.0.28 vs lib/backburner.rb in backburner-allq-1.0.29

- old
+ new

@@ -16,16 +16,9 @@ require 'backburner/workers/threads_on_fork' require 'backburner/workers/threading' require 'backburner/queue' module Backburner - class Allq - # Convenience method to logically separate old Backburner from new Allq Backburner - def self.enqueue(job_class, args, shard_key: nil) - Backburner.enqueue(job_class, args, shard_key: shard_key) - end - end - class << self # Enqueues a job to be performed with given arguments. # # @example # Backburner.enqueue NewsletterSender, self.id, user.id