Skip to content

Draft: Higher query limit for EnqueuerWorker

Steve Abrams requested to merge 362537-multi-ready-for-import into master

What does this MR do and why?

The new code path for the Enqueuer is:

          if migration.higher_query_limit?
            break unless runnable?

            if handle_aborted_migration
              re_enqueue_if_capacity
              break
            end

            next_repositories.each do |repository|
              handle_next_migration(repository)
            end
          else
...

Other aspects of the EnqueuerWorker are just methods refactored to take a container_repository as a param rather than using next_repository to fetch the memoized one.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related: #362537 (closed)

Edited by Steve Abrams

Merge request reports