Commit 38515dcd authored by George Koltsov's avatar George Koltsov

Update BulkImports::PipelineWorker Ndjson perform delay

  - Reduce BulkImports::PipelineWorker::NDJSON_PIPELINE_PERFORM_DELAY
    from 1 minute to 10 seconds in order to increase polling frequency
    of the Pipeline Worker and reduce overall execution delay
    if export is ready early

Changelog: other
parent 3112fdb6
......@@ -4,14 +4,11 @@ module BulkImports
class PipelineWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
NDJSON_PIPELINE_PERFORM_DELAY = 1.minute
NDJSON_PIPELINE_PERFORM_DELAY = 10.seconds
data_consistency :always
feature_category :importers
sidekiq_options retry: false, dead: false
worker_has_external_dependencies!
def perform(pipeline_tracker_id, stage, entity_id)
......
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