Fix PublishScheduledStatusWorker being queued with no arguments (#9724)
parent
c73653ce23
commit
8ad57a0426
|
@ -7,7 +7,7 @@ class Scheduler::ScheduledStatusesScheduler
|
|||
|
||||
def perform
|
||||
due_statuses.find_each do |scheduled_status|
|
||||
PublishScheduledStatusWorker.perform_at(scheduled_status.scheduled_at)
|
||||
PublishScheduledStatusWorker.perform_at(scheduled_status.scheduled_at, scheduled_status.id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue