Skip to content

Commit 99ec50a

Browse files
committed
fix async job execution regression
1 parent ebf3642 commit 99ec50a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

features/step_definitions/worker_steps.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ def drain_async_jobs
1010
active_job.jobs.each do |job|
1111
case job['wrapped']
1212
when AsyncCreatable::CreateAsyncJob.name, AsyncUpdatable::UpdateAsyncJob.name,
13-
AsyncTouchable::TouchAsyncJob.name, AsyncDestroyable::DestroyAsyncJob.name
13+
AsyncTouchable::TouchAsyncJob.name, AsyncDestroyable::DestroyAsyncJob.name,
14+
ActiveRecord::DestroyAssociationAsyncJob.name
1415
active_job.process_job(job)
1516
end
1617
end

0 commit comments

Comments
 (0)