1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/daemon
epriestley 9a7383121d Move cancel/retry/free task queue actions to bin/worker
Summary:
Fixes T6702. Ref T3554. Currently, tasks can be cancelled, retried and freed from the web UI by any logged in user.

This isn't appreciably dangerous (I can't come up with a way that a user could do anything security-affecting), but I think I probably intended this to be admin-only, but these actions should move to the CLI anyway.

Move them to the CLI. Lay some groundwork for some future `bin/worker cancel --class SomeTaskClass`, but don't implement that yet.

Test Plan: Used `cancel`, `retry` and `free` from the CLI. Hit all the error/success states.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3554, T6702

Differential Revision: https://secure.phabricator.com/D10939
2014-12-06 09:14:16 -08:00
..
application Move cancel/retry/free task queue actions to bin/worker 2014-12-06 09:14:16 -08:00
controller Move cancel/retry/free task queue actions to bin/worker 2014-12-06 09:14:16 -08:00
event Daemons - add a config check for out of date daemon environment 2014-08-22 14:52:36 -07:00
garbagecollector Garbage collect daemon logs 2014-06-17 15:33:08 -07:00
management Daemons - handle daemons that can't be killed a bit better 2014-09-03 15:19:02 -07:00
query Send graceful shutdown signals to daemons in Phabricator 2014-08-11 20:18:31 -07:00
storage Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
view Daemons - add status of environment to daemon console, etc 2014-08-27 11:35:21 -07:00