Skip to content

Commit e04de2a

Browse files
committed
FIX some deprecation warnings
1 parent 74199c8 commit e04de2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/jobs/email_verifier_job.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class EmailVerifierJob < ApplicationJob
22
attr_reader :email
33

4-
retry_on Emailable::TimeoutError, wait: :exponentially_longer, attempts: Float::INFINITY
4+
retry_on Emailable::TimeoutError, wait: :polynomially_longer, attempts: Float::INFINITY
55

66
def perform(email)
77
@email = email

app/jobs/update_organization_insee_payload_job.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class UpdateOrganizationINSEEPayloadJob < ApplicationJob
22
attr_reader :organization
33

4-
retry_on Faraday::ServerError, wait: :exponentially_longer, attempts: Float::INFINITY
4+
retry_on Faraday::ServerError, wait: :polynomially_longer, attempts: Float::INFINITY
55

66
def perform(organization_id)
77
@organization = Organization.find(organization_id)

0 commit comments

Comments
 (0)