diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-06 09:21:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-06 09:21:16 +0100 |
commit | 8ad57a0426402831373f9f45705774f875b5b65d (patch) | |
tree | 3c60a348fb877beecf90774d0deb2c8cbd2e7afd /app | |
parent | c73653ce2351a78a2fc8e5107e5c8942b558058e (diff) |
Fix PublishScheduledStatusWorker being queued with no arguments (#9724)
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/scheduler/scheduled_statuses_scheduler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/scheduler/scheduled_statuses_scheduler.rb b/app/workers/scheduler/scheduled_statuses_scheduler.rb index 70a45846b..1772a246b 100644 --- a/app/workers/scheduler/scheduled_statuses_scheduler.rb +++ b/app/workers/scheduler/scheduled_statuses_scheduler.rb @@ -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 |