Commit ab0f9788 authored by Sean McGivern's avatar Sean McGivern

Explicitly set retries to 3 for all existing Sidekiq workers

Some time ago, we set the default number of Sidekiq retries to 3. In the
next commit we're going to change that to 25, but we only want it to
apply to new workers. So we'll first need to explicitly set all existing
workers to 3.

To aid with this, I used the below script. I had to make a couple of
tweaks for some worker concerns, but it covered most of the several
hundred workers we have:

    Dir.glob('{ee/,}app/workers/**/*.rb').select do |worker|
      contents = open(worker).read

      next unless contents.include?('ApplicationWorker')
      next if contents.include?('sidekiq_options retry: ')

      new_contents =
        contents.gsub(/^( +)include ApplicationWorker$/,
                      "\\1include ApplicationWorker\n\n" +
                      "\\1sidekiq_options retry: 3")

      open(worker, 'w').puts(new_contents)
    end
parent 4a61262a
......@@ -2,6 +2,8 @@
class AdminEmailWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
......
......@@ -5,6 +5,8 @@ module Analytics
# This worker will be removed in 14.0
class CountJobTriggerWorker
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :devops_reports
......
......@@ -6,6 +6,8 @@ module Analytics
class CounterJobWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :devops_reports
urgency :low
......
......@@ -5,6 +5,8 @@ module Analytics
class CountJobTriggerWorker
extend ::Gitlab::Utils::Override
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
DEFAULT_DELAY = 3.minutes.freeze
......
......@@ -6,6 +6,8 @@ module Analytics
extend ::Gitlab::Utils::Override
include ApplicationWorker
sidekiq_options retry: 3
feature_category :devops_reports
urgency :low
......
......@@ -3,6 +3,8 @@
class ApproveBlockedPendingApprovalUsersWorker
include ApplicationWorker
sidekiq_options retry: 3
idempotent!
feature_category :users
......
......@@ -2,6 +2,8 @@
class ArchiveTraceWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -3,6 +3,8 @@
class AuthorizedKeysWorker
include ApplicationWorker
sidekiq_options retry: 3
PERMITTED_ACTIONS = %w[add_key remove_key].freeze
feature_category :source_code_management
......
......@@ -3,6 +3,8 @@
module AuthorizedProjectUpdate
class PeriodicRecalculateWorker
include ApplicationWorker
sidekiq_options retry: 3
# This worker does not perform work scoped to a context
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
......
......@@ -4,6 +4,8 @@ module AuthorizedProjectUpdate
class ProjectCreateWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :authentication_and_authorization
urgency :low
queue_namespace :authorized_project_update
......
......@@ -4,6 +4,8 @@ module AuthorizedProjectUpdate
class ProjectGroupLinkCreateWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :authentication_and_authorization
urgency :low
queue_namespace :authorized_project_update
......
......@@ -15,6 +15,8 @@ module AuthorizedProjectUpdate
include ApplicationWorker
sidekiq_options retry: 3
feature_category :authentication_and_authorization
urgency :low
queue_namespace :authorized_project_update
......
......@@ -2,6 +2,8 @@
class AuthorizedProjectsWorker
include ApplicationWorker
sidekiq_options retry: 3
prepend WaitableWorker
feature_category :authentication_and_authorization
......
......@@ -3,6 +3,8 @@
module AutoDevops
class DisableWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include AutoDevopsQueue
def perform(pipeline_id)
......
......@@ -3,6 +3,8 @@
class AutoMergeProcessWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :auto_merge
feature_category :continuous_delivery
worker_resource_boundary :cpu
......
......@@ -3,6 +3,8 @@
class BackgroundMigrationWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :database
urgency :throttled
loggable_arguments 0, 1
......
......@@ -2,6 +2,8 @@
class BuildFinishedWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -2,6 +2,8 @@
class BuildHooksWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_hooks
......
......@@ -2,6 +2,8 @@
class BuildQueueWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -2,6 +2,8 @@
class BuildSuccessWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -3,6 +3,8 @@
module Chaos
class CpuSpinWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ChaosQueue
def perform(duration_s)
......
......@@ -3,6 +3,8 @@
module Chaos
class DbSpinWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ChaosQueue
def perform(duration_s, interval_s)
......
......@@ -3,6 +3,8 @@
module Chaos
class LeakMemWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ChaosQueue
def perform(memory_mb, duration_s)
......
......@@ -3,6 +3,8 @@
module Chaos
class SleepWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ChaosQueue
def perform(duration_s)
......
......@@ -3,6 +3,8 @@
module Ci
class ArchiveTracesCronWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_integration
......
......@@ -3,6 +3,8 @@
module Ci
class BuildPrepareWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -3,6 +3,8 @@
module Ci
class BuildScheduleWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -3,6 +3,8 @@
module Ci
class BuildTraceChunkFlushWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
deduplicate :until_executed
......
......@@ -5,6 +5,7 @@ module Ci
include ::ApplicationWorker
include ::PipelineQueue
sidekiq_options retry: 3
worker_resource_boundary :cpu
def perform(bridge_id)
......
......@@ -3,6 +3,8 @@
module Ci
class DailyBuildGroupReportResultsWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
feature_category :code_testing
......
......@@ -3,6 +3,8 @@
module Ci
class DeleteObjectsWorker
include ApplicationWorker
sidekiq_options retry: 3
include LimitedCapacity::Worker
feature_category :continuous_integration
......
......@@ -3,6 +3,8 @@
module Ci
class DropPipelineWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
idempotent!
......
......@@ -3,6 +3,8 @@
module Ci
class InitialPipelineProcessWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -3,6 +3,8 @@ module Ci
module MergeRequests
class AddTodoWhenBuildFailsWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
urgency :low
......
......@@ -4,6 +4,8 @@ module Ci
module PipelineArtifacts
class CoverageReportWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
feature_category :code_testing
......
......@@ -5,6 +5,8 @@ module Ci
class CreateQualityReportWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :pipeline_background
feature_category :code_testing
......
......@@ -4,6 +4,8 @@ module Ci
module PipelineArtifacts
class ExpireArtifactsWorker
include ApplicationWorker
sidekiq_options retry: 3
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
......
......@@ -5,6 +5,7 @@ module Ci
include ::ApplicationWorker
include ::PipelineQueue
sidekiq_options retry: 3
urgency :high
worker_resource_boundary :cpu
......
......@@ -3,6 +3,8 @@
module Ci
class PipelineSuccessUnlockArtifactsWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
idempotent!
......
......@@ -3,6 +3,8 @@
module Ci
class RefDeleteUnlockArtifactsWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
idempotent!
......
......@@ -4,6 +4,8 @@ module Ci
module ResourceGroups
class AssignResourceFromResourceGroupWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_processing
......
......@@ -3,6 +3,8 @@
module Ci
class ScheduleDeleteObjectsCronWorker
include ApplicationWorker
sidekiq_options retry: 3
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
......
......@@ -3,6 +3,8 @@
module Ci
class TestFailureHistoryWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineBackgroundQueue
idempotent!
......
......@@ -3,6 +3,8 @@
class CiPlatformMetricsUpdateCronWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
# This worker does not perform work scoped to a context
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
......
......@@ -3,6 +3,8 @@
class CleanupContainerRepositoryWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :container_repository
feature_category :container_registry
urgency :low
......
......@@ -2,6 +2,8 @@
class ClusterConfigureIstioWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
worker_has_external_dependencies!
......
......@@ -2,6 +2,8 @@
class ClusterInstallAppWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -2,6 +2,8 @@
class ClusterPatchAppWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -2,6 +2,8 @@
class ClusterProvisionWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
worker_has_external_dependencies!
......
......@@ -2,6 +2,8 @@
class ClusterUpgradeAppWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -2,6 +2,8 @@
class ClusterWaitForAppInstallationWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -2,6 +2,8 @@
class ClusterWaitForAppUpdateWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -2,6 +2,8 @@
class ClusterWaitForIngressIpAddressWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -4,6 +4,8 @@ module Clusters
module Applications
class ActivateServiceWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
loggable_arguments 1
......
......@@ -4,6 +4,8 @@ module Clusters
module Applications
class CheckPrometheusHealthWorker
include ApplicationWorker
sidekiq_options retry: 3
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
......
......@@ -4,6 +4,8 @@ module Clusters
module Applications
class DeactivateServiceWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
loggable_arguments 1
......
......@@ -4,6 +4,8 @@ module Clusters
module Applications
class UninstallWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -4,6 +4,8 @@ module Clusters
module Applications
class WaitForUninstallAppWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ClusterQueue
include ClusterApplications
......
......@@ -9,6 +9,8 @@ module Gitlab
included do
include ApplicationWorker
sidekiq_options retry: 3
include GithubImport::Queue
include ReschedulingMethods
include Gitlab::NotifyUponDeath
......
......@@ -7,6 +7,8 @@ module Gitlab
included do
include ApplicationWorker
sidekiq_options retry: 3
include ProjectImportOptions
include Gitlab::JiraImport::QueueOptions
end
......
......@@ -6,6 +6,8 @@ module ReactiveCacheableWorker
included do
include ApplicationWorker
sidekiq_options retry: 3
feature_category_not_owned!
loggable_arguments 0
......
......@@ -3,6 +3,8 @@
module ContainerExpirationPolicies
class CleanupContainerRepositoryWorker
include ApplicationWorker
sidekiq_options retry: 3
include LimitedCapacity::Worker
include Gitlab::Utils::StrongMemoize
......
......@@ -2,6 +2,8 @@
class ContainerExpirationPolicyWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue
include ExclusiveLeaseGuard
......
......@@ -3,6 +3,8 @@
class CreateCommitSignatureWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :source_code_management
weight 2
idempotent!
......
......@@ -3,6 +3,8 @@
class CreateNoteDiffFileWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :code_review
def perform(diff_note_id)
......
......@@ -2,6 +2,8 @@
class CreatePipelineWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_creation
......
......@@ -3,6 +3,8 @@
module Database
class BatchedBackgroundMigrationWorker
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :database
......
......@@ -2,6 +2,8 @@
class DeleteContainerRepositoryWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ExclusiveLeaseGuard
queue_namespace :container_repository
......
......@@ -3,6 +3,8 @@
class DeleteDiffFilesWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :code_review
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -3,6 +3,8 @@
class DeleteMergedBranchesWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :source_code_management
def perform(project_id, user_id)
......
......@@ -3,6 +3,8 @@
class DeleteStoredFilesWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category_not_owned!
loggable_arguments 0
......
......@@ -3,6 +3,8 @@
class DeleteUserWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :authentication_and_authorization
loggable_arguments 2
......
......@@ -4,6 +4,8 @@ module Deployments
class DropOlderDeploymentsWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
feature_category :continuous_delivery
......
......@@ -4,6 +4,8 @@ module Deployments
class ExecuteHooksWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
feature_category :continuous_delivery
worker_resource_boundary :cpu
......
......@@ -6,6 +6,8 @@ module Deployments
class FinishedWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
feature_category :continuous_delivery
worker_resource_boundary :cpu
......
......@@ -6,6 +6,8 @@ module Deployments
class ForwardDeploymentWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
feature_category :continuous_delivery
......
......@@ -4,6 +4,8 @@ module Deployments
class LinkMergeRequestWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
idempotent!
feature_category :continuous_delivery
......
......@@ -6,6 +6,8 @@ module Deployments
class SuccessWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
feature_category :continuous_delivery
worker_resource_boundary :cpu
......
......@@ -4,6 +4,8 @@ module Deployments
class UpdateEnvironmentWorker
include ApplicationWorker
sidekiq_options retry: 3
queue_namespace :deployment
idempotent!
feature_category :continuous_delivery
......
......@@ -4,6 +4,8 @@ module DesignManagement
class CopyDesignCollectionWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :design_management
idempotent!
urgency :low
......
......@@ -4,6 +4,8 @@ module DesignManagement
class NewVersionWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :design_management
# Declare this worker as memory bound due to
# `GenerateImageVersionsService` resizing designs
......
......@@ -2,6 +2,8 @@
class DisallowTwoFactorForGroupWorker
include ApplicationWorker
sidekiq_options retry: 3
include ExceptionBacktrace
feature_category :subgroups
......
......@@ -2,6 +2,8 @@
class DisallowTwoFactorForSubgroupsWorker
include ApplicationWorker
sidekiq_options retry: 3
include ExceptionBacktrace
INTERVAL = 2.seconds.to_i
......
......@@ -3,6 +3,8 @@
class EmailReceiverWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :issue_tracking
urgency :high
weight 2
......
......@@ -3,6 +3,8 @@
class EmailsOnPushWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
attr_reader :email, :skip_premailer
feature_category :source_code_management
......
......@@ -3,6 +3,8 @@
module Environments
class AutoStopCronWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_delivery
......
......@@ -7,6 +7,8 @@
# until the prior link is deleted.
class ErrorTrackingIssueLinkWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ExclusiveLeaseGuard
include Gitlab::Utils::StrongMemoize
......
......@@ -4,6 +4,8 @@ module Experiments
class RecordConversionEventWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :users
urgency :low
......
......@@ -2,6 +2,8 @@
class ExpireBuildArtifactsWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
......
......@@ -3,6 +3,8 @@
class ExpireBuildInstanceArtifactsWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :continuous_integration
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -2,6 +2,8 @@
class ExpireJobCacheWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_cache
......
......@@ -2,6 +2,8 @@
class ExpirePipelineCacheWorker
include ApplicationWorker
sidekiq_options retry: 3
include PipelineQueue
queue_namespace :pipeline_cache
......
......@@ -3,6 +3,8 @@
class ExportCsvWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category :issue_tracking
worker_resource_boundary :cpu
loggable_arguments 2
......
......@@ -8,6 +8,8 @@
class FlushCounterIncrementsWorker
include ApplicationWorker
sidekiq_options retry: 3
feature_category_not_owned!
urgency :low
deduplicate :until_executing, including_scheduled: true
......
......@@ -8,6 +8,8 @@ module Gitlab
# stage.
class AdvanceStageWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include ::Gitlab::Import::AdvanceStage
sidekiq_options dead: false
......
......@@ -4,6 +4,8 @@ module Gitlab
module GithubImport
class RefreshImportJidWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include GithubImport::Queue
# The interval to schedule new instances of this job at.
......
......@@ -5,6 +5,8 @@ module Gitlab
module Stage
class FinishImportWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include GithubImport::Queue
include StageMethods
......
......@@ -5,6 +5,8 @@ module Gitlab
module Stage
class ImportBaseDataWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include GithubImport::Queue
include StageMethods
......
......@@ -5,6 +5,8 @@ module Gitlab
module Stage
class ImportIssuesAndDiffNotesWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include GithubImport::Queue
include StageMethods
......
......@@ -5,6 +5,8 @@ module Gitlab
module Stage
class ImportLfsObjectsWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include GithubImport::Queue
include StageMethods
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment