Skip to content

Commit 84bc5e9

Browse files
committed
Change retry strategy to :polynomially_longer
1 parent 1233391 commit 84bc5e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/jobs/update_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class UpdateJob < ApplicationJob
77
include JobWithTimestamp
88
queue_as :default
99

10-
retry_on Errno::ECONNREFUSED, wait: :exponentially_longer, attempts: 10
11-
retry_on Model::LockTimeoutError, wait: :exponentially_longer, attempts: 10
10+
retry_on Errno::ECONNREFUSED, wait: :polynomially_longer, attempts: 10
11+
retry_on Model::LockTimeoutError, wait: :polynomially_longer, attempts: 10
1212

1313
self.deduplicate = true
1414

0 commit comments

Comments
 (0)