lib/backburner.rb in backburner-allq-1.0.47 vs lib/backburner.rb in backburner-allq-1.0.48

- old
+ new

@@ -23,10 +23,10 @@ # # @example # Backburner.enqueue NewsletterSender, self.id, user.id # def enqueue(job_class, args, opts={}) - opts[:shard_key] = opts[:shard_key].nil? ? "X" : opts[:shard_key].to_s + opts[:shard_key] = "X" if opts[:shard_key].nil? Backburner::Worker.enqueue(job_class, args, opts) end # Begins working on jobs enqueued with optional tubes specified