Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fixed concurrency key for HealthStatusMailerJob

Andreas Pfohl935ef1a5234e
diff --git a/modules/storages/app/workers/storages/health_status_mailer_job.rb b/modules/storages/app/workers/storages/health_status_mailer_job.rb
index 2876d914a74..260042ff6cc 100644
--- a/modules/storages/app/workers/storages/health_status_mailer_job.rb
+++ b/modules/storages/app/workers/storages/health_status_mailer_job.rb
@@ -36,7 +36,7 @@ module Storages
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