1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00
phorge-phorge/scripts/repository
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
..
commit_hook.php Changed \$callsign to \$argv[1] on commit_hook.php since is undefined causing an error when trying to report an error. 2014-01-09 10:36:01 -08:00
manage_repositories.php Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
rebuild_summaries.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
reparse.php Allow worker tasks to have priorities 2014-07-12 03:02:06 +10:00
save_lint.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00