Fix PublishScheduledStatusWorker being queued with no arguments (#9724)

lolsob-rspec
Eugen Rochko 2019-01-06 09:21:16 +01:00 committed by GitHub
parent 3dc1452d35
commit c3922e1c3c
1 changed files with 1 additions and 1 deletions

View File

@ -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