Commit 3cebbe30 authored by mgabdev's avatar mgabdev

Updated retry count for ExpiringProScheduler, IntroduceProScheduler

• Updated:
- retry count for ExpiringProScheduler, IntroduceProScheduler
parent 3c07e9d6
......@@ -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|
......
......@@ -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|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment