Removed sidekiq_options in ScheduledStatusesScheduler

This commit is contained in:
mgabdev 2020-01-14 11:39:03 -05:00
parent 9228e82dc5
commit d813b1a9f0

View File

@ -3,8 +3,6 @@
class Scheduler::ScheduledStatusesScheduler
include Sidekiq::Worker
sidekiq_options unique: :until_executed, retry: 0
def perform
due_statuses.find_each do |scheduled_status|
PublishScheduledStatusWorker.perform_at(scheduled_status.scheduled_at, scheduled_status.id)