Updated retry count for ExpiringProScheduler, IntroduceProScheduler
• Updated: - retry count for ExpiringProScheduler, IntroduceProScheduler
This commit is contained in:
parent
3c07e9d63b
commit
3cebbe30dc
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue