Sidekiq documentation says 'Sidekiq is not designed to work well with dozens of queues.'. Having the amount of queues we have at the moment brings no anyway. Closes #5571
11 lines
207 B
Ruby
11 lines
207 B
Ruby
module Workers
|
|
module Mail
|
|
class ConfirmEmail < Base
|
|
sidekiq_options queue: :low
|
|
|
|
def perform(user_id)
|
|
Notifier.confirm_email(user_id).deliver_now
|
|
end
|
|
end
|
|
end
|
|
end
|