Class: Spree::Imports::BaseJob
- Inherits:
-
BaseJob
- Object
- BaseJob
- Spree::Imports::BaseJob
- Defined in:
- app/jobs/spree/imports/base_job.rb
Overview
Shared base for every job in the imports pipeline.
The narrow transient-error retry policy is inherited from Spree::BaseJob;
we only override the queue here. Per-row business errors are caught inside
Spree::ImportRow#process! and converted to row.fail!, so they never
bubble up to the job layer. Subclasses may extend the retry list (e.g.
CreateCategoriesJob adds RecordNotUnique to recover from concurrent
taxon creation races).
Direct Known Subclasses
AssignTagsJob, CreateCategoriesJob, CreateRowsJob, ProcessGroupJob, ProcessRowsJob