blob: 6c708c0b7bc5772b4d75924001ddeb1d8ba647e0 (
plain) (
tree)
|
|
# frozen_string_literal: true
require "backburner"
Backburner::Worker.class_eval do
class << self; alias_method :original_enqueue, :enqueue; end
def self.enqueue(job_class, args = [], opts = {})
job_class.perform(*args)
end
end
|