Skip to content

Commit

Permalink
Merge pull request #15232 from opf/bug/storage-health-status-mails-ar…
Browse files Browse the repository at this point in the history
…e-send-for-every-failed-request

bug/storage-health-status-mails-are-send-for-every-failed-request
  • Loading branch information
apfohl authored Apr 12, 2024
2 parents ced36eb + 935ef1a commit 0b56b8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class HealthStatusMailerJob < ApplicationJob
total_limit: 2,
enqueue_limit: 1,
perform_limit: 1,
key: -> { "#{self.class.name}-#{arguments.last[:storage]}" }
key: -> { "#{self.class.name}-#{arguments.last[:storage].id}" }
)

discard_on ActiveJob::DeserializationError
Expand Down

0 comments on commit 0b56b8f

Please sign in to comment.