lib/gitlab/background_migration/update_authorized_keys_file_since.rb
def batch_add_keys_in_db_starting_from(start_id)
        Rails.logger.info("Adding all keys starting from ID: #{start_id}")

        gitlab_shell.batch_add_keys do |adder|
          Key.find_each(start: start_id, batch_size: 1000) do |key|
            adder.add_key(key.shell_id, key.key)
          end
        end
      end
# Not added to Gitlab::Shell because I don't expect this to be used again
Not added to Gitlab::Shell because I don't expect this to be used again
Not added to Gitlab :: Shell because I don ' t expect this to be used again
def batch_add_keys_in_db_starting_from(start_id)
        Rails.logger.info("Adding all keys starting from ID: #{start_id}")
        gitlab_shell.batch_add_keys do |adder|
          Key.find_each(start: start_id, batch_size: 1000) do |key|
            adder.add_key(key.shell_id, key.key)
          end
        end
      end
def batch_add_keys_in_db_starting_from ( start_id ) Rails . logger . info ( "Adding all keys starting from ID: #{start_id}" ) gitlab_shell . batch_add_keys do | adder | Key . find_each ( start : start_id , batch_size : 1000 ) do | key | adder . add_key ( key . shell_id , key . key ) end end end
Not added to Gitlab::Shell because I don't expect this to be used again
Not added to Gitlab :: Shell because I don ' t expect this to be used again
start_id