1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/infrastructure/daemon
epriestley 914b8bb32c Fix daemon task queue to respect task priority
Summary:
Fixes an issue with T5336 / D9871. We did 99% of the work here but didn't actually turn on the priority sorting. The unit test passed by default, which didn't catch this.

  - Fix the unit test (it failed).
  - Fix the query (test now passes).
  - Add a "Next in Queue" element to the UI to make this kind of thing easier to spot/understand.

Test Plan: Ran unit test. Viewed "Next in Queue". Queued some tasks, flushed the queue. Web UI tracked the state sensibly.

Reviewers: joshuaspence, btrahan

Reviewed By: btrahan

Subscribers: cburroughs, epriestley

Differential Revision: https://secure.phabricator.com/D10766
2014-10-31 09:27:04 -07:00
..
bot Improve Accuracy of Robot Mating Sounds made by chatbot 2014-10-16 07:42:11 -07:00
control phd - make stop / restart savvy to daemons without pid files 2014-08-26 14:12:31 -07:00
garbagecollector Send graceful shutdown signals to daemons in Phabricator 2014-08-11 20:18:31 -07:00
workers Fix daemon task queue to respect task priority 2014-10-31 09:27:04 -07:00
PhabricatorDaemon.php Add "phd.user" with sudo hooks for SSH/HTTP writes 2013-11-18 08:58:35 -08:00