mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
a130cb8305
Move signup, admin login and password change email notifications to critical queue
13 lines
282 B
Ruby
13 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
|