diff --git a/app/workers/copay_notifications/parse_new_statements_job.rb b/app/workers/copay_notifications/parse_new_statements_job.rb index 747596e0a3b..b97e1f60c10 100644 --- a/app/workers/copay_notifications/parse_new_statements_job.rb +++ b/app/workers/copay_notifications/parse_new_statements_job.rb @@ -9,8 +9,7 @@ class ParseNewStatementsJob def self.throttle return Sidekiq::Limiter.unlimited if Rails.env.test? - Sidekiq::Limiter.concurrent('new-copay-statements', 8, wait_timeout: 259_200, - lock_timeout: 120) + Sidekiq::Limiter.window('new-copay-statements', 1000, 60) end LIMITER = throttle