lib/tasks/gitlab/import_export/import.rake
# We want to ensure that all Sidekiq jobs are executed
# synchronously as part of that process.
# This ensures that all expensive operations do not escape
# to general Sidekiq clusters/nodes.
We want to ensure that all Sidekiq jobs are executed
synchronously as part of that process.
This ensures that all expensive operations do not escape
to general Sidekiq clusters/nodes.
We want to ensure that all Sidekiq jobs are executed synchronously as part of that process . This ensures that all expensive operations do not escape to general Sidekiq clusters / nodes .
def run_isolated_sidekiq_job
    Sidekiq::Testing.fake! do
      @project = create_project
      execute_sidekiq_job
      true
    end
  end
def run_isolated_sidekiq_job Sidekiq :: Testing . fake! do @project = create_project execute_sidekiq_job true end end
We want to ensure that all Sidekiq jobs are executed
synchronously as part of that process.
We want to ensure that all Sidekiq jobs are executed synchronously as part of that process .