mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 00:54:21 +08:00
a130cb8305
Move signup, admin login and password change email notifications to critical queue
14 lines
282 B
Ruby
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
|