Page MenuHomePhorge

Use a separate queue for mailing jobs, de-duplicate code
ClosedPublic

Authored by machniak on Tue, Feb 18, 2:44 PM.

Details

Reviewers
mollekopf
Group Reviewers
Restricted Project
Commits
rK734ef93c24f6: Use a separate queue for mailing jobs, de-duplicate code
Summary

Also keep all mail jobs together

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

machniak created this revision.
  • Add mail queue to the Horizon config
  • Add missing MailJob.php file
mollekopf subscribed.
mollekopf added inline comments.
src/app/Jobs/Mail/PasswordRetentionJob.php
31

it seems to me doing this in either MailJob::__construct (and calling the parent constructor here), would be cleaner, but it doesn't really matter.

Potentially we should even move this to CommonJob in light of https://phorge.apps.ocp04.ait-msp-infra.net/T439

This revision is now accepted and ready to land.Wed, Feb 19, 2:53 PM