1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/applications/metamta
epriestley 84ee4cd9f6 Factor out task execution and formalize permanent failures
Summary:
  - Clean up a TODO about permanent failures.
  - Clean up a TODO about failing tasks after too many retries.
  - Clean up a TODO about testing for bad leases.
  - Make the lease/retry implementation more flexible and natural.
  - Make completely bogus tasks fail permanently.
  - Make PhabricatorMetaMTAWorker use new `getWaitBeforeRetry()` (as intended), not hackily implement logic in `getRequiredLeaseTime()`.
  - Document worker hooks for failures and retries.
  - Provide coverage on everything.

Test Plan: Ran unit tests. Ran `bin/phd debug taskmaster`.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2015

Differential Revision: https://secure.phabricator.com/D3859
2012-11-01 11:30:23 -07:00
..
__tests__ Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
adapter Disable implicit mulitplexing in PHPMailerLite 2012-08-22 14:02:53 -07:00
application Require canonical numbers in routes 2012-10-05 18:07:54 -07:00
constants add a few more email preferences for differential and maniphest 2012-10-31 17:11:04 -07:00
contentsource Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
controller Make the drop target for file attachments smaller 2012-10-08 13:26:41 -07:00
replyhandler If users are on the email to Phabricator, do not send them the Phabricator reply. 2012-10-10 10:18:23 -07:00
storage Move completed tasks to an "archive" table and delete them in the GC 2012-10-31 15:22:16 -07:00
view Fix test 2012-07-18 18:24:49 -07:00
PhabricatorMetaMTAEmailBodyParser.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorMetaMTAWorker.php Factor out task execution and formalize permanent failures 2012-11-01 11:30:23 -07:00