1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/metamta
Joshua Spence 9a679bf374 Allow worker tasks to have priorities
Summary: Fixes T5336. Currently, `PhabricatorWorkerLeaseQuery` is basically FIFO. It makes more sense for the queue to be a priority-queue, and to assign higher priorities to alerts (email and SMS).

Test Plan: Created dummy tasks in the queue (with different priorities). Verified that the priority field was set correctly in the DB and that the priority was shown on the `/daemon/` page. Started a `PhabricatorTaskmasterDaemon` and verified that the higher priority tasks were executed before lower priority tasks.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T5336

Differential Revision: https://secure.phabricator.com/D9871
2014-07-12 03:02:06 +10:00
..
action When we fail to process mail, tell the user about it 2014-04-03 18:43:18 -07:00
adapter mailgun support messageids. supportsMessageIDHeader accidentally returned false. 2014-06-24 16:21:31 -07:00
application Merge the new navigation design 2014-06-03 15:50:08 -07:00
constants Add email preferences to Pholio 2014-06-21 12:01:05 -07:00
contentsource Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
controller Mailgun receive support 2014-01-21 10:36:33 -08:00
exception Allow MetaMTA adapters to indicate that a mail is permanently undeliverable 2013-08-30 08:21:50 -07:00
garbagecollector Add a GC for sent and received mail 2014-02-03 10:51:31 -08:00
management Allow worker tasks to have priorities 2014-07-12 03:02:06 +10:00
parser Applied various linter fixes. 2014-06-09 16:04:12 -07:00
query Add config to require real name, respect config when creating new users, drop real name from full name if not provided. 2014-05-12 09:51:41 -07:00
receiver Introduce CAN_EDIT for ExternalAccount, and make CAN_VIEW more liberal 2014-07-10 10:18:10 -07:00
replyhandler Applied various linter fixes. 2014-06-09 16:04:12 -07:00
storage Allow worker tasks to have priorities 2014-07-12 03:02:06 +10:00
view Remove @group annotations 2014-07-10 08:12:48 +10:00
PhabricatorMail.php Require a viewer to load handles 2013-02-28 17:15:09 -08:00
PhabricatorMetaMTAWorker.php Clean up numerous rough edges in Mail configuration 2014-04-21 15:45:29 -07:00