Class: Gitlab::BackgroundOperation::DummyTest
- Inherits:
-
BaseOperationWorker
- Object
- BaseOperationWorker
- Gitlab::BackgroundOperation::DummyTest
- Defined in:
- lib/gitlab/background_operation/dummy_test.rb
Overview
Background operation used for testing purpose only
Constant Summary
Constants inherited from BaseOperationWorker
BaseOperationWorker::DEFAULT_FEATURE_CATEGORY, BaseOperationWorker::MINIMUM_PAUSE_MS
Constants included from Database::DynamicModelHelpers
Database::DynamicModelHelpers::BATCH_SIZE
Instance Method Summary collapse
Methods inherited from BaseOperationWorker
#batch_metrics, cursor, cursor?, cursor_columns, feature_category, #initialize, job_arguments, operation_name
Methods included from Database::DynamicModelHelpers
define_batchable_model, #each_batch, #each_batch_range
Constructor Details
This class inherits a constructor from Gitlab::BackgroundOperation::BaseOperationWorker
Instance Method Details
#perform ⇒ Object
11 12 13 14 15 |
# File 'lib/gitlab/background_operation/dummy_test.rb', line 11 def perform each_sub_batch do |relation| relation.touch_all end end |