Updated retry count for ExpiringProScheduler, IntroduceProScheduler

• Updated:
- retry count for ExpiringProScheduler, IntroduceProScheduler
This commit is contained in:
mgabdev 2020-10-16 16:25:58 -05:00
parent 3c07e9d63b
commit 3cebbe30dc
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
class Scheduler::ExpiringProScheduler
include Sidekiq::Worker
sidekiq_options retry: 1
sidekiq_options queue: 'mailers', retry: 12
def perform
expired_accounts.find_each do |acct|

View File

@ -3,7 +3,7 @@
class Scheduler::IntroduceProScheduler
include Sidekiq::Worker
sidekiq_options retry: 1
sidekiq_options queue: 'mailers', retry: 12
def perform
new_accounts(8.days.ago, 7.days.ago).find_each do |acct|