discourse/app/jobs/regular/critical_user_email.rb

14 lines
282 B
Ruby

# base.rb uses this style of require, so maintain usage of it here
require_dependency "#{Rails.root}/app/jobs/regular/user_email.rb"
module Jobs
class CriticalUserEmail < UserEmail
sidekiq_options queue: 'critical'
def execute(args)
super(args)
end
end
end