You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: deactivate_dormant_users_worker.rb
    path of file: ./repos/gitlabhq/app/workers/users
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Users
  class DeactivateDormantUsersWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker

    data_consistency :always

    include CronjobQueue

    feature_cate
    
    def deactivate_users(scope, admin_bot)
      with_context(caller_id: self.class.name.to_s) do
        scope.each_batch do |batch|
          batch.each do |user|
            Users::DeactivateService.new(admin_bot).execute(user)
          end
        end
      end
    end