Fix deprecated DeliveryJob message
Notifications generate this deprecation error: ``` DEPRECATION WARNING: Sending mail with DeliveryJob and Parameterized::DeliveryJob is deprecated and will be removed in Rails 6.1. Please use MailDeliveryJob instead. (called from new_project_member at /builds/gitlab-org/gitlab/app/services/notification_service.rb:360) ``` This was introduced in Rails: https://github.com/rails/rails/pull/34591. To migrate, we simply need to set the Rails configuration to use `MailDeliveryJob` instead of `DeliveryJob` and update the code to reflect that. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/208305
显示
- config/application.rb 2 个添加, 0 个删除config/application.rb
- doc/administration/troubleshooting/navigating_gitlab_via_rails_console.md 1 个添加, 1 个删除...on/troubleshooting/navigating_gitlab_via_rails_console.md
- doc/administration/troubleshooting/sidekiq.md 1 个添加, 1 个删除doc/administration/troubleshooting/sidekiq.md
- lib/gitlab/marginalia/comment.rb 2 个添加, 2 个删除lib/gitlab/marginalia/comment.rb
- spec/support/helpers/notification_helpers.rb 6 个添加, 6 个删除spec/support/helpers/notification_helpers.rb
- spec/workers/every_sidekiq_worker_spec.rb 1 个添加, 1 个删除spec/workers/every_sidekiq_worker_spec.rb
想要评论请 注册 或 登录