Module: ClusterCleanupMethods

Extended by:
ActiveSupport::Concern
Includes:
ApplicationWorker, ClusterQueue
Included in:
Clusters::Cleanup::ProjectNamespaceWorker, Clusters::Cleanup::ServiceAccountWorker
Defined in:
app/workers/concerns/cluster_cleanup_methods.rb

Overview

Concern for setting Sidekiq settings for the various GitLab ObjectStorage workers.

Constant Summary collapse

DEFAULT_EXECUTION_LIMIT =
10
ExceededExecutionLimitError =
Class.new(StandardError)

Constants included from ApplicationWorker

ApplicationWorker::LOGGING_EXTRA_KEY, ApplicationWorker::SAFE_PUSH_BULK_LIMIT

Constants included from Gitlab::Loggable

Gitlab::Loggable::ANONYMOUS

Constants included from WorkerAttributes

WorkerAttributes::DEFAULT_DATA_CONSISTENCY, WorkerAttributes::DEFAULT_DEFER_DELAY, WorkerAttributes::NAMESPACE_WEIGHTS, WorkerAttributes::VALID_DATA_CONSISTENCIES, WorkerAttributes::VALID_RESOURCE_BOUNDARIES, WorkerAttributes::VALID_URGENCIES

Method Summary

Methods included from Gitlab::Loggable

#build_structured_payload

Methods included from Gitlab::SidekiqVersioning::Worker

#job_version

Methods included from WorkerContext

#with_context