diff --git a/app/jobs/search_index_job.rb b/app/jobs/search_index_job.rb index 96e3c2c64..ea5e358e1 100644 --- a/app/jobs/search_index_job.rb +++ b/app/jobs/search_index_job.rb @@ -1,6 +1,8 @@ class SearchIndexJob < ApplicationJob - retry_on StandardError, attempts: 20 + retry_on StandardError, attempts: 20, wait: lambda { |executions| + executions * 10.seconds + } def perform(object, o_id) @object = object