You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an item in a batch fails and is retried, the batch finalizes and next task is run before the batch completes.
Superworker.create(:ImageImportSuperWorker, :staging_image_ids, :valid_only, :started_at, :staging_image_group_id) do
batch staging_image_ids: :staging_image_id do
ImageImportWorker :staging_image_id, :valid_only
end
FinalizeImageImportWorker :staging_image_group_id, :valid_only, :started_at
end
In the example FinalizeImageImportWorker can be called before all the batch ImageImportWorkers are actually done, if an ImageImportWorker is retried.
The text was updated successfully, but these errors were encountered:
If an item in a batch fails and is retried, the batch finalizes and next task is run before the batch completes.
In the example FinalizeImageImportWorker can be called before all the batch ImageImportWorkers are actually done, if an ImageImportWorker is retried.
The text was updated successfully, but these errors were encountered: