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
9 lines
182 B
Ruby
9 lines
182 B
Ruby
module Workers
|
|
class ResetPassword < Base
|
|
sidekiq_options queue: :urgent
|
|
|
|
def perform(user_id)
|
|
User.find(user_id).send_reset_password_instructions!
|
|
end
|
|
end
|
|
end
|