Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/active_job/queue_adapters/solid_queue_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def order_executions(executions)
case
# Follow polling order for scheduled executions, the rest by job_id, desc or asc
when solid_queue_status.scheduled? then executions.ordered
when solid_queue_status.failed? then executions.order(id: :desc)
when recurring_task_id.present? then executions.order(job_id: :desc)
else executions.order(job_id: :asc)
end
Expand Down