Module: Gitlab::Database::BackgroundOperation::Queueable

Extended by:
ActiveSupport::Concern
Included in:
Worker, WorkerCellLocal
Defined in:
lib/gitlab/database/background_operation/queueable.rb

Constant Summary collapse

DEFAULT_BATCH_VALUES =
{
  batch_size: 1_000,
  sub_batch_size: 100,
  min_cursor: [1],
  interval: 2.minutes,
  batch_class_name: 'PrimaryKey',
  pause_ms: 100
}.freeze
EXISTING_OPERATION_MSG =
"Background Operation not enqueued because there is already an active operation with\njob_class_name: %s, table_name: %s, column_name: %s and job_arguments: [%s].\n"